Skip to main content

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)

Uploaded Source

Built Distribution

semmy-0.4.0-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page