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/:
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
- uv's side: https://docs.astral.sh/uv/guides/publish/
- PyPI's side: https://docs.pypi.org/trusted-publishers/
Metadata
Release files for trusted-publishing-examples 0.1.3
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 |
|---|---|---|---|---|
| trusted_publishing_examples-0.1.3.tar.gz | 8.3 kB | Without provenance | Details for trusted_publishing_examples-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trusted_publishing_examples-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for trusted_publishing_examples-0.1.3-py3-none-any.whl |
Total release size: 10.2 kB
Release files / trusted_publishing_examples-0.1.3.tar.gz
| Download URL | trusted_publishing_examples-0.1.3.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cce84fda3d4a1a69a06b74003963809d201d8e1ab3120687ff59bf57dda9c38
|
|
BLAKE2b-256 checksum How to use checksums |
02e8226f473d74409eb306d883f8ea831de0470e24faeffe4a91f156696bae13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.15
|
Release files / trusted_publishing_examples-0.1.3-py3-none-any.whl
| Download URL | trusted_publishing_examples-0.1.3-py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5372de04f9193ca649db533dd31e4295dc33ccd1a15d49ceefff8904f8a4f255
|
|
BLAKE2b-256 checksum How to use checksums |
ef627ec460f33fa98c84bccbacdf105e7f7aec19ed386197df8a20ae10a9914d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.15
|
Security for trusted-publishing-examples 0.1.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.