template-python-uv-package
Opinionated Python + uv template for new packages.
- Source code
- PyPI package
- ClickPy
- ecosyte.ms
- Libraries.io
- Open Source Insights
- OSV
- PePy
- PyPack Trends
- PyPI Stats
- Snyk
- Socket
Getting Started
- Go to or create the package folder.
- Get the template files:
npx giget@3.2.0 github:joaopalmeiro/template-python-uv-package . --force
- Search for
template-python-uv-packageand replace it with the package name. Ignore the template repository URL in the NOTES.md file. - Search for
template_python_uv_packageand replace it with the underscored version of the package name. - Search for
Opinionated [Python](https://www.python.org/) + [uv](https://github.com/astral-sh/uv) template for new packages./Opinionated Python + uv template for new packages.and replace it with the (short) package description. - Search for
João Palmeiroand replace it with the author's name. - Search for
joaopalmeiro@proton.meand replace it with the author's email address. - Update the
Source codelink at the top to the package repository link (if necessary). - Change
GitHubin theDeploymentsection toGitLaborCodebergand update the link to the corresponding Tags page (if necessary). - Update the
IssuesandSourcefields in the pyproject.toml file with their respective repository-related links (if necessary). - Delete the TEMPLATE.md file.
- Delete the
Getting Startedsection.
Development
Install uv, zizmor, and pinact (if necessary):
curl -LsSf https://astral.sh/uv/0.11.6/install.sh | sh
uv python install
uv audit --verbose
uv run python -c "from template_python_uv_package import __version__; print(__version__)"
uv run mypy
uv run ruff format
uv run ruff check --fix
uv build
GitHub Actions
zizmor .
pinact run -u --min-age 7
Deployment
- Create the
releaseGitHub Actions environment (if necessary). - Add a trusted publisher to an existing PyPI project or create a new one with a trusted publisher (if necessary).
uv version --bump patch
uv version --bump minor
uv version --bump major
echo "v$(uv version --short)" | pbcopy
- Commit and push changes.
- Create a tag on GitHub Desktop.
- Check GitHub.
- Check PyPI.
Metadata
Release files for template-python-uv-package 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| template_python_uv_package-0.1.0.tar.gz | 2.5 kB | With provenance | Details for template_python_uv_package-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| template_python_uv_package-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for template_python_uv_package-0.1.0-py3-none-any.whl |
Total release size: 6.0 kB
Release files / template_python_uv_package-0.1.0.tar.gz
| Download URL | template_python_uv_package-0.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a09f487cc7d1152be304f254f4c31dc73dfeb652390a287cceae199541d77205
|
|
BLAKE2b-256 checksum How to use checksums |
7f6500b1747339f7b1c4f9fabf6ff72e9911b2a73f71eaa705ae3981fa7a10f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logRelease files / template_python_uv_package-0.1.0-py3-none-any.whl
| Download URL | template_python_uv_package-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2ca741a6d8137baef86d0876260cfe746d3e64c8c850b376fe35d6301ab79b9
|
|
BLAKE2b-256 checksum How to use checksums |
ef2846ee9dc808c92aad96e3fa2f8c1845c06d986edfdcb4cd175b99e30cc9d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logSecurity for template-python-uv-package 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for template_python_uv_package-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.