Skip to main content

A demo of a Python packaging workflow using GH Actions and poetry

Project description

CI

poetry-packaging-demo

CI-CD pipeline for Python projects consisting of:

  1. A placeholder Quality job that you can fill up with your favorite linters, formatters and testing frameworks.
  2. A Release job that releases to GitHub and publishes to PyPI using python-semantic-release and poetry.

Our pipeline automates semantic versioning and distribution of Python projects by leveraging conventional commits.

To use this demo in your project:

  1. Copy the [tool.semantic_release] section of our pyproject.toml into your pyproject.toml and adjust it to your project.
  2. Copy the workflow file at .github/workflows/ci.yml into your .github/workflows folder and adjust it to your project.
  3. In your repository's Secrets create a token named PYPI_TOKEN and paste your PyPI Token into it.

Happy hacking 🐈‍⬛

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

poetry_packaging_demo-1.2.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

poetry_packaging_demo-1.2.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file poetry_packaging_demo-1.2.2.tar.gz.

File metadata

  • Download URL: poetry_packaging_demo-1.2.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1042-azure

File hashes

Hashes for poetry_packaging_demo-1.2.2.tar.gz
Algorithm Hash digest
SHA256 8b15b0f03d67e820fd1ad9dd04cb1df5f91c17ac4f4abc7e39f4b73622ebeba9
MD5 ef93d21cd4d25f953eb19be714a7da7c
BLAKE2b-256 49ff0cd58d6d2291cfd6c5978624c611899d2e7670ac7ec66feb1bcb9fac9fed

See more details on using hashes here.

File details

Details for the file poetry_packaging_demo-1.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_packaging_demo-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7726d73d8b84120f5d41a5abe46fee4edd5375faac9e9a35771e55502a4c7749
MD5 18872b2eace6d2b3e06dbb61a29ce847
BLAKE2b-256 6975c7bebb24cdadc57fc8f2f22676640a4167d59bd1770e25d713bdc57a26f0

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