- uv for python and project manager
- pre-commit with ruff to mantain code consistency and pre-commit checks
- GitHub Actions to create release and publish package (also on a private registry)
Note: You need uv (and uv only) installed on your machine.
To create a package using this repo as template, install copier as an uv tool:
uv tool install copierThen proceed with creating the package and answer the prompted questions:
copier copy https://github.com/lanzani/package-blueprint path/to/destinationYou can update a child repo that has been created with this template by running:
copier updateIf you are not going to publish your package on a private index you can skip this section! Everything is already configured, happy coding!
If you want to publish on a private index that needs authentication you have to declare two secrets in your project's action settings:
UV_PUBLISH_USERNAMEUV_PUBLISH_USERNAME
Once done, you are good to go.
:)
- Publish package on pypi
- Command "magic.py login" to store credentials