Semantic versioning made easy for Python
Project description
Semmy
Semantic versioning made easy for Python
Features
- Parses semantic version domain objects from valid strings
- Check if two versions are equal
- Check if version is a pre-release
- Bump (pre-)major, (pre-)minor, and (pre-)patch versions
- Check if version is greater (newer) or lesser (older) than other version (upcoming)
API
To be written.
Check unit tests for complete examples.
Prerequisites
- Python >=3.8 or later
Install
poetry add semmy
Alternatively, for older projects.
pip install semmy
pip freeze > requirements.txt
Contributing
See here for instructions.
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
semmy-0.4.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
semmy-0.4.0-py3-none-any.whl
(3.6 kB
view hashes)