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 lintandmake 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.shto configure poetry and pyenv
I recommend installing with pipx (but pip also works):
pipx install cookiecuttercookiecutter https://github.com/duarte-pompeu/my-python-templatebash setup.sh