This template sets up a structure for you to write a python package. It comes filled with a bunch of modern features from the python ecosystem.
Note
This template tries to follow the Python Developer Tooling Handbook
- 📏 Testing setup with
pytest - 🎣 Pre-commit Hooks, run with
Prek - 📚 autogenerated Changelog with Git Changelog or [Git Cliff]
- 🎵 Task orchestration with Justfile
- ✒️ Preconfigured Licenses to choose from
- 📜 Documentation from Zensical
- 🔍 Code Quality assurance with ruff and ty
- 🔧 CI pipelines for
Github ActionsandGitlab - ⚡ Fast environment and project management with uv
To install the copier tool with uv run:
uv tool install copier --with copier-template-extensionsTo initialize a new repository with the copier template run the following command:
copier copy --trust "gh:npikall/py-bootstrap" path/to/project/You will be prompted and then your repo will be setup.
After you have just used the copier to create this repo, you might want to run the following commands:
just initto initialize agitrepositoryjust venvto create a virtual environment
