Skip to main content

A demo package for the Universidad Europea Deployment course.

Project description

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).

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

hello_world_package_ue-1.0.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

hello_world_package_ue-1.0.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file hello_world_package_ue-1.0.0.tar.gz.

File metadata

  • Download URL: hello_world_package_ue-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hello_world_package_ue-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0af32fa5166fa08446185137bcd969e4a8e8befa71a3c91760182b0f53bd214b
MD5 17c7fd6e37958a39440095fda64df065
BLAKE2b-256 c672cc64a3b617d4a29f65569039e2f77a61d57c83eec6132b79b36f8fa22375

See more details on using hashes here.

Provenance

The following attestation bundles were made for hello_world_package_ue-1.0.0.tar.gz:

Publisher: publish.yml on semapu/universidad_europea_deploy_applicatons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hello_world_package_ue-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hello_world_package_ue-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a28ab9d29c1df43db5c5e594ae3754a895a120f1be495959407363eb2dccf0b5
MD5 ed0c16e5c83f5ee16080bd220d9b369e
BLAKE2b-256 2d89d806c8731731b9f147f9e50b35d2e9d73d0f771c658a58ece497fe08d4be

See more details on using hashes here.

Provenance

The following attestation bundles were made for hello_world_package_ue-1.0.0-py3-none-any.whl:

Publisher: publish.yml on semapu/universidad_europea_deploy_applicatons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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