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
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
git_semver_tags-1.0.1.tar.gz
(10.3 kB
view details)