yakimka/cookiecutter-pyproject
October 10, 2025 ยท View on GitHub
Cookiecutter template to create new python packages.
Purpose
This project is used to scaffold a python package or project structure.
Features
- Always
up-to-datedependencies with the help of@dependabot - Supports latest
python3.10+ uvfor managing dependenciesmypyfor optional static typingpytestfor testingflake8|rufffor lintingGithub Actionsas the default CIpre-commitfor running checks before committing (runpre-commit installto install git hook)
Installation
Firstly, you will need to install dependencies:
pip install cookiecutter
Then, create a project itself:
cookiecutter gh:yakimka/cookiecutter-pyproject
In order for the github actions to work smoothly (ie badge), you must, during the setup, use your github username in the organization field.
project_name [my-awesome-project]: foo-project
organization [yakimka]: <github_username>
CI/CD
For properly running CI/CD, you must set the following environment secrets in repo settings:
DOCKERHUB_TOKENPYPI_TOKENCODECOV_TOKENUPDATE_URLfor updater
Also you need to duplicate these secrets to Dependabot settings if you want to run pipelines on Dependabot PRs.
License
MIT. See LICENSE for more details.
Credits
Project inspired by: