Skip to main content

Implementation of creating version based on git status

Project description

packaging-version-git

Implementation of creating version based on git status

PyPI PyPI - Python Version

Coverage Quality Gate Status

Downloads GitLab stars GitLab last commit

Documentation

Install:

pip install packaging-version-git

Usage:

from packaging_version_git import GitVersion

version = GitVersion.from_tag()
print(version) # 0.1.0

version = GitVersion.from_commit(as_dev=True)
print(version) # 0.1.0.dev5+ef7fd31

Contribute

Issue Tracker: https://gitlab.com/rocshers/python/packaging-version-git/-/issues
Source Code: https://gitlab.com/rocshers/python/packaging-version-git

Before adding changes:

make install

After changes:

make format test

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

packaging_version_git-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

packaging_version_git-0.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file packaging_version_git-0.1.2.tar.gz.

File metadata

File hashes

Hashes for packaging_version_git-0.1.2.tar.gz
Algorithm Hash digest
SHA256 371e5bbf1bfcbd9c641e5ef18cee8bdf07ec86f29b93cf17ce1902d5ab1ba569
MD5 382fdfdf03b923257b0e60a8b1a0e9ee
BLAKE2b-256 9aa91fc119e04ea2e1d0e3429a83c91a28a99282f856c38414d43af98bf3d6c2

See more details on using hashes here.

File details

Details for the file packaging_version_git-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for packaging_version_git-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d17a9a45e925d17c16a51903a5cda6d7c6e47073c01a198990e6f302f6e1f9b2
MD5 d250ce28945cf47f601dcb3982d9ba71
BLAKE2b-256 b6543c06c9ad39468a9fe387a961c873a43be8315e7c92d4d9df691a34e96f99

See more details on using hashes here.

Supported by

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