A cookiecutter template to generate an opinionated Python template according to duarte-pompeu preferences. It includes:
- pre-defined package requirements managed by poetry
- Makefile with utilities, such as
make format
,make lint
andmake test
- minimalistic support for docker and kubernetes
To initialize a project with this template:
- Install cookiecutter (if you don't have it yet)
- Install the project
- Run
setup.sh
to configure poetry and pyenv
I recommend installing with pipx (but pip also works):
pipx install cookiecutter
cookiecutter https://github.com/duarte-pompeu/my-python-template
bash setup.sh