Skip to main content

Compare and read semver-like versions from git tags.

Project description

git-semver-tags

Read and make sense of Git tags following the semver spec

Quickstart

Install: pip intall git-semver-tags

Import and simply pass in strings:

from git_semver_tags import Version
v = Version('1.2.3-alpha+b1234')

Run tests

To verify sanity, run a suite of examples to exercise it by changing to the module's test directory and running

./tests/git_semver_tags> python -m unittest discover

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

git_semver_tags-1.0.1.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

git_semver_tags-1.0.1-py3-none-any.whl (11.0 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