Today I release Projy, the little piece of code I wrote during last month. Projy is a template-based skeleton generator, which means it can create file and directory structures defined by a template. Each created file is also defined by a template. Data included in the files are gathered by collectors. You can easily add new templates and new ways to collect data to insert in the created files. As much as possible, Projy tries to be simple to use and extend.
How do I use it?
As an example, you can easily create a Python package with:
projy PythonPackage MyProject
Then you'll find a directory MyProject containing:
MyProject/ bootstrap CHANGES.txt LICENSE.txt MANIFEST.in README.txt setup.py MyProject/docs/ index.rst MyProject/myproject/ __init__.py
Each file has been created with a specific template, so the package is fully functional, yet empty. This Projy template mostly follows recommendations from The Hitchhiker’s Guide to Packaging. More templates will be added in the future, you can of course propose yours.
Where do I find it?
Projy is written in Python and distributed through pypi. You can therefore install it easily with:
pip install projy