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.0.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for git_semver_tags-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8770f7a66b239b67c1ac23c3e99f17ffc98edf3999e34b76f16bc9bdc1307cb5 |
|
MD5 | 03e2d77983711466e9f515c55e8ea894 |
|
BLAKE2b-256 | ba8379f09035955676e4c32e21f5a43e70b63328e0a46df67bb50c9f2aa46661 |