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.toml
into yourpyproject.toml
and adjust it to your project. - Copy the workflow file at
.github/workflows/ci.yml
into your.github/workflows
folder and adjust it to your project. - In your repository's Secrets create a token named
PYPI_TOKEN
and 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
Close
Hashes for poetry_packaging_demo-1.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a3be7f0430cedc62b374fdf78c8ed635a123a74b86dcf75dc674c10e4cdbd1 |
|
MD5 | 90b44f4886499f9f9748db29983dae57 |
|
BLAKE2b-256 | cb1864a015d8d3dbcd45749f5f5c2eab168b411a8eb0bc6a0e21a75bb1ae26c4 |
Close
Hashes for poetry_packaging_demo-1.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9516db86893b7b7c673a744427cf36f81f8b8f3130d0355c5404b97ae5d2eeea |
|
MD5 | 175670040b0ac667df76be00ebf8fb67 |
|
BLAKE2b-256 | b79d975dbcc5ee23366129c7cbe6de655ab7074d9474a4e8dbf3da265f6e64b0 |