python-semantic-release-pypi

Automatic semantic versioning for python projects


Keywords
python, release, semantic-release, tool, tooling
License
MIT
Install
pip install python-semantic-release-pypi==3.11.2

Documentation

Python Semantic Release

Ruff pypi conda-forge docs pre-commit

Automatic Semantic Versioning for Python projects. This is a Python implementation of semantic-release for JS by Stephan Bönnemann. If you find this topic interesting you should check out his talk from JSConf Budapest.

The general idea is to be able to detect what the next version of the project should be based on the commits. This tool will use that to automate the whole release, upload to an artifact repository and post changelogs to GitHub. You can run the tool on a CI service, or just run it locally.

Installation

python3 -m pip install python-semantic-release
semantic-release --help

Python Semantic Release is also available from conda-forge or as a GitHub Action. Read more about the setup and configuration in our getting started guide.