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 hashes)
Built Distribution
Close
Hashes for git_semver_tags-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 874f80b72560431d9410aee189996082523d1310aabeebd68c56f2ceeb476614 |
|
MD5 | f45a97c2d8a7abc5f76d2e0b50bb739a |
|
BLAKE2b-256 | 178f9e4ed363751c07b0983926118cbe68ad900f52c7b5aef4b6d32d67aa6d96 |