Skip to main content

Add your description here

Project description

uv trusted publishing examples

Trusted publishing allows uploading package from GitHub Action to PyPI without manually setting a secret token. Instead, you specify on PyPI a GitHub Actions workflow that is allowed to publish the package.

This repository contains a full, self-contained example for trusted publishing with uv. The release workflow can be found in .github/workflows/release.yml. On PyPI, the matching configuration is set under https://pypi.org/manage/project/<package-name>/settings/publishing/:

Screenshot from PyPI. Manage current publishers. Publisher: GitHub. Details: Repository: astral-sh/trusted-publishing-examples Workflow: release.yml Environment name: release

You can find the published package at https://pypi.org/project/trusted-publishing-examples/.

.github/workflows/ci.yml is a minimal test and lint workflow for a Python package, while .github/workflows/errors.yml is for testing uv itself only.

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trusted_publishing_examples-0.1.2.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trusted_publishing_examples-0.1.2-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file trusted_publishing_examples-0.1.2.tar.gz.

File metadata

File hashes

Hashes for trusted_publishing_examples-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3cc15d6ee73022072baf67646fc9cff7e4b355aab9c7d6fa6b4f9630d3254f32
MD5 5535136763f1f09d0d18bd0d18357fc0
BLAKE2b-256 5c9b41d56aa3965319f0a70cdbcaf6cb15db490c2c8cc3326d131979c6981db2

See more details on using hashes here.

File details

Details for the file trusted_publishing_examples-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for trusted_publishing_examples-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3cf7f0fa316acb1fc27ecdd503da566834b485527e94adc9c1576629d3632a4f
MD5 b71515d10b2b98431956ca7fe46748e5
BLAKE2b-256 98eef7d26411f766a947d0486e1e2f9f10e3ac909418bad6f777cb1f35bf1585

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page