Skip to main content

template-python-uv-package

uv Ruff Checked with mypy

Opinionated Python + uv template for new packages.

Getting Started

  1. Go to or create the package folder.
  2. Get the template files:
npx giget@3.2.0 github:joaopalmeiro/template-python-uv-package . --force
  1. Search for template-python-uv-package and replace it with the package name. Ignore the template repository URL in the NOTES.md file.
  2. Search for template_python_uv_package and replace it with the underscored version of the package name.
  3. 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.
  4. Search for João Palmeiro and replace it with the author's name.
  5. Search for joaopalmeiro@proton.me and replace it with the author's email address.
  6. Update the Source code link at the top to the package repository link (if necessary).
  7. Change GitHub in the Deployment section to GitLab or Codeberg and update the link to the corresponding Tags page (if necessary).
  8. Update the Issues and Source fields in the pyproject.toml file with their respective repository-related links (if necessary).
  9. Delete the TEMPLATE.md file.
  10. Delete the Getting Started section.

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

uv version --bump patch
uv version --bump minor
uv version --bump major
echo "v$(uv version --short)" | pbcopy

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)

Source distribution for template-python-uv-package 0.1.0
File Size Uploaded
template_python_uv_package-0.1.0.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for template-python-uv-package 0.1.0
File Interpreter ABI Platform
template_python_uv_package-0.1.0-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page