Opinionated but very simple project template to get started quickly with building a python package.
No difficult cookiecutter setup scripts, just 3 simple steps:
- Click on the green "Use this template" button on the top right of this page
- Clone the project to your local machine
- Where needed adjust license, author, package name, etc.
This template uses:
poetry
for dependency managementdocker
for devcontainer setupgithub
actions for CI/CDblack
for code formattingruff
for lintinggh-action-pypi-publish
for directly publishing your project to PyPi.
If you plan on publishing to PyPI, see publishing to PyPI with a Trusted Publisher for more information on how to setup your project. You will also have to make a release
environment inside your GitHub repository. See using environments for deployment for more information.
Based on frenck's and klaasnicolaas's CI/CD work, so credits to them!