Here is a list of all the templates, but also collectors, integrated into Projy at the moment. Of course, you can propose new templates, they’ll be integrated into Projy.
Project templates are used to create a files/directories structure. That’s the second argument of the command line. For this list, the projects we create are all called TowelStuff. They are somewhat ordered by the programming language they use.
These are Python templates.
The command:
$ projy PythonPackage TowelStuff
produces:
TowelStuff/
bootstrap - BootstrapScriptFileTemplate
CHANGES.txt - PythonPackageCHANGESFileTemplate
LICENSE.txt - GPL3FileTemplate
MANIFEST.in - PythonPackageMANIFESTFileTemplate
README.txt - READMEReSTFileTemplate
setup.py - PythonPackageSetupFileTemplate
TowelStuff/docs/
index.rst
TowelStuff/towelstuff/
__init__.py
The command:
$ projy PythonScript TowelStuff
produces:
TowelStuff/
TowelStuff.py - PythonScriptFileTemplate
The command:
$ projy Fabfile TowelStuff
produces:
/
fabfile.py - FabfileFileTemplate
This one is probably not generic enough, I added some stuff I use. Feel free to customize it.
The command:
$ projy Bootstrap TowelStuff
produces:
/
bootstrap - BootstrapScriptFileTemplate
Yes, the name has no impact on the produced file. Don’t hesitate to make it short!
Finally, a bit of a special template, which lets you create a Projy template and an empty file template from Projy itself. Call it meta if you want :-) See Extending Projy to know how such templates are meant to be written.
The command:
$ projy ProjyTemplate TowelStuff
produces:
/
TowelStuffTemplate.py - ProjyTemplateFileTemplate
TowelStuffFileTemplate.txt