Skip to main content

Version: 1.0.0

Last update: 15/05/2026

Summary

This readme contians the main steps to publish a package to PyPI using GitHub Actions and OIDC


Environment

Create a virtual environemnt:

python -m venv venv

Activate the venv:

venv\Scripts\activate

Create and install requirements

pip install -r requirements.txt


Package

Install poetry

pip install poetry

Create a new package

poetry new hello-world-package

Add dependencies

poetry add

Build the package

poetry build

OIDC (OpenID Connect):

  • We told PyPI: "I trust any request that comes from my specific GitHub repository if it has the id-token: write permission".
  • No passwords needed. It’s the highest level of security available today.
  • To configurate it in PyPI visit:

https://pypi.org/manage/account/publishing/

Automation (GitHub Actions):

  • The .github/workflows/publish.yml file is your Robot Assistant
    • on: push: The robot sleeps until it sees you push code to main.
    • runs-on: ubuntu-latest: GitHub rents a clean computer in the cloud for you.
    • The Steps: The robot downloads your code, installs Python 3.13, builds the IKEA boxes (poetry build), and sends them to PyPI using the official "shipping agent" (pypa/gh-action-pypi-publish).

Metadata

Release files for hello-world-package-ue 1.0.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 hello-world-package-ue 1.0.0
File Size Uploaded Provenance Actions
hello_world_package_ue-1.0.0.tar.gz 2.2 kB With provenance Details for hello_world_package_ue-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hello-world-package-ue 1.0.0
File Interpreter ABI Platform Actions
hello_world_package_ue-1.0.0-py3-none-any.whl Python 3 none any Details for hello_world_package_ue-1.0.0-py3-none-any.whl

Total release size: 5.2 kB

Release files / hello_world_package_ue-1.0.0.tar.gz

Download URL hello_world_package_ue-1.0.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0af32fa5166fa08446185137bcd969e4a8e8befa71a3c91760182b0f53bd214b
BLAKE2b-256 checksum
How to use checksums
c672cc64a3b617d4a29f65569039e2f77a61d57c83eec6132b79b36f8fa22375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 16, 2026.

Transparency log

Release files / hello_world_package_ue-1.0.0-py3-none-any.whl

Download URL hello_world_package_ue-1.0.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a28ab9d29c1df43db5c5e594ae3754a895a120f1be495959407363eb2dccf0b5
BLAKE2b-256 checksum
How to use checksums
2d89d806c8731731b9f147f9e50b35d2e9d73d0f771c658a58ece497fe08d4be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 16, 2026.

Transparency log

Security for hello-world-package-ue 1.0.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.

Select from 2 files

Attestation for hello_world_package_ue-1.0.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 May 16, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

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