I wanted tooling for flask that would make my life easier (and faster) like the generators for the padrino framework. There are tools out there that scaffold projects (and I’ve accommodated users of cookiecutter as of 0.2.2) but this tool’s focus is on rapid development rather than being a padrino clone.
The other focus of this tool is incremental feature usage in projects. Flask isn’t Django and you shouldn’t have the kitchen sink rolled into your project. You should only use what you need and that is the primary focus of this tool.
Install patron with pip command:
pip install patron
When installing via pip, you may get some funky gibberish on the screen due to pip trying to pre-compile the python scripts (cookiecutter scaffolding) within the data directory of the package. No worries, the tooling still works.
Patron does have some external dependencies outside of the python ecosystem in regards to front-end tooling. If you use flask-assets, you should be aware that it makes external calls to the respective tooling if there isn’t a python equivalent.
Patron external dependencies are:
Patron itself doesn’t use Flask-Assets in the scaffolds that it uses. It uses a front-end work flow based off of gulp separated from the project package. For more details on the external dependencies you can read up on the Front-End work flow.
Next up is basic usage