Cookiecutter
Another tool we find useful is Cookiecutter. In a nutshell, this is a templating engine for projects. There are two main scenarios where Cookiecutter can be useful.
First, if you are usually working on multiple projects of a similar structure or purpose, you may save some time and emotion by creating a single template of the project. That includes the folder structure, its name, the default files or templates to include, Makefiles (https://krzysztofzuraw.com/blog/2016/makefiles-in-python-projects.html), proper gitignore settings, and anything else you want. Specific variables can be injected into any text-based files, depending on your selection and configurations. As an illustration, in our practice, we adopted our own templates ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access