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.0.tar.gz (10.2 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.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git_semver_tags-1.0.0.tar.gz
  • Upload date:
  • Size: 10.2 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.0.tar.gz
Algorithm Hash digest
SHA256 2dbdf59f8675e6dc884f33f44be05297e225508805399fc2aab65e16dbc16545
MD5 4702cd8ae5d347e0fb261eeab799e23e
BLAKE2b-256 37d11eec7a952ffccf2b3b89b7427a7f334db65988c72bb44e2334a6d04eb34a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for git_semver_tags-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8770f7a66b239b67c1ac23c3e99f17ffc98edf3999e34b76f16bc9bdc1307cb5
MD5 03e2d77983711466e9f515c55e8ea894
BLAKE2b-256 ba8379f09035955676e4c32e21f5a43e70b63328e0a46df67bb50c9f2aa46661

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