A demo of a Python packaging workflow using GH Actions and poetry
Project description
poetry-packaging-demo
CI-CD pipeline for Python projects consisting of:
- A placeholder Quality job that you can fill up with your favorite linters, formatters and testing frameworks.
- 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:
- Copy the
[tool.semantic_release]section of ourpyproject.tomlinto yourpyproject.tomland adjust it to your project. - Copy the workflow file at
.github/workflows/ci.ymlinto your.github/workflowsfolder and adjust it to your project. - In your repository's Secrets create a token named
PYPI_TOKENand paste your PyPI Token into it.
Happy hacking 🐈⬛
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poetry_packaging_demo-1.3.0.tar.gz.
File metadata
- Download URL: poetry_packaging_demo-1.3.0.tar.gz
- Upload date:
- Size: 2.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17d9ac402e9f95ace7c2def5b989d665bbddc3a7ec41abd972b42bc02676c658
|
|
| MD5 |
a2f3412b6cf96b2f8308f8d578977447
|
|
| BLAKE2b-256 |
bc5b3ac145a4b69e0e4a1110dc2712fe07f02c6349b9d730377edc5e0be9dd6d
|
File details
Details for the file poetry_packaging_demo-1.3.0-py3-none-any.whl.
File metadata
- Download URL: poetry_packaging_demo-1.3.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1042-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f90477202969ff541dc34bb7cd2e59bf93da894d98335654ce37dd193ea9cda
|
|
| MD5 |
da753e682aefeff5e0af2d32b12e0c99
|
|
| BLAKE2b-256 |
27236d1b5ddfe7c4ff5ed5a437dc0c1812ed216eedb4fe8493b5befbaa5a512e
|