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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_semver_tags-1.0.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file git_semver_tags-1.0.1.tar.gz.

File metadata

  • Download URL: git_semver_tags-1.0.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for git_semver_tags-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f31b10653a5601608ed9a488abeae3bd932495327ca7b80ec5cbaf079481c450
MD5 49f7af2dabefe94a92d1977510c8518d
BLAKE2b-256 73aba965c9aa0f04deea752bfa25c5ca06a9050c64aa988a18c7ae21014c3d0f

See more details on using hashes here.

File details

Details for the file git_semver_tags-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for git_semver_tags-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 874f80b72560431d9410aee189996082523d1310aabeebd68c56f2ceeb476614
MD5 f45a97c2d8a7abc5f76d2e0b50bb739a
BLAKE2b-256 178f9e4ed363751c07b0983926118cbe68ad900f52c7b5aef4b6d32d67aa6d96

See more details on using hashes here.

Supported by

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