Template repository for Python projects. Uses uv as the package manager.
- Rename project to the desired project name
- Update the
$PROJECTvariable in Makefile to match step 1 - Update
pyproject.tomlas needed - Add source code to the renamed
projectfolder - Run
make initto install the project to a virtual environment - You can execute commands from the virtual environment with
uv run
make style- Runs code style formattingmake quality- Tests that code complies with quality standardsmake types- Run static type checking with pyrightmake test- Run unit testsmake test-pdb-*- Run unit tests matching pattern*with fallback topdbfor debugging.make deploy- Install dependencies fromuvlockfile
- Setup CI - a template CircleCI config is provided in
.circeci/config.yml
- Run
make helpto get a partial list of available make recipes - A pytest mark,
ci_skip, is provided to mark tests that should be skipped during CI pipelines