Best tool for generating code templates in python
<p>We've developed a system in Python that will load "plugins" made by other people on our corporation. There're a few types of plugins, but within a type, the code template will always be the same.</p>

<p>I was wondering if there's an easy tool for Python that would create the skeleton of the plugin. The tool would have to:</p>

<ol>
<li>Create a dir with the skeleton files (possibly making some template substitutions).</li>
<li>Create a git repository in it.</li>
<li>Create a remote repository in the company's central git repository (via ssh).</li>
<li>Add the remote repository as origin for the local repository.</li>
<li>Committing the skeleton files to the remote repository automatically.</li>
</ol>

<p>Googling, the best tool I found was Paste, but it seems a little overkill, as it's an entire WSGI tool. Is there another tool, possibly more specialized for this task?</p>
