You can add these kind of command extensions to your python projects by using <a href="http://pythonpaste.org/" rel="nofollow">http://pythonpaste.org/</a><p>Pylons, repoze.bfg etc already use paste for generating project templates, custom shell and runserver.<p>It is quite easy to add this to any python project.