https://github.com/lanzani/package-blueprint
UV package template
https://github.com/lanzani/package-blueprint
Last synced: 6 months ago
JSON representation
UV package template
- Host: GitHub
- URL: https://github.com/lanzani/package-blueprint
- Owner: lanzani
- Created: 2025-03-23T21:38:20.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-06-18T08:43:23.000Z (7 months ago)
- Last Synced: 2025-06-18T09:32:30.781Z (7 months ago)
- Language: Python
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UV Package Blueprint
[](https://github.com/copier-org/copier)
[](https://github.com/astral-sh/uv)
[](https://github.com/astral-sh/ruff)
[]()
[](./reports/coverage/index.html)
## Tecnology stack
- [uv](https://docs.astral.sh/uv/) for python and project manager
- [pre-commit](https://pre-commit.com/) with [ruff](https://docs.astral.sh/ruff/) to mantain code consistency and pre-commit checks
- [GitHub Actions](https://github.com/features/actions) to create release and publish package (also on a private registry)
## Usage
**Note**: You need [uv](https://docs.astral.sh/uv/) (and uv only) installed on your machine.
To create a package using this repo as template, install copier as an uv tool:
```bash
uv tool install copier
```
Then proceed with creating the package and answer the prompted questions:
```bash
copier copy https://github.com/lanzani/package-blueprint path/to/destination
```
## Update
You can update a child repo that has been created with this template by running:
```bash
copier update
```
## Setup GitHub Actions
If 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_USERNAME`
- `UV_PUBLISH_USERNAME`
Once done, you are good to go.
:)
## TODO
- [ ] Publish package on pypi
- [ ] Command "magic.py login" to store credentials