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 import Version
from packaging_version_increment import increment_version, IncrementEnum

version = Version('0.0.0')
print(version) # 0.0.0

new_version = increment_version(version, IncrementEnum.major)
print(new_version) # 1.0.0

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.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for packaging_version_git-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8336cdfc7b4e18a346dd5e727b630914e4d12261482aeaee977b55cfbf0a18af
MD5 9c61b65b8faf4e0714f1047111650ce9
BLAKE2b-256 e08fa60f4f30c3bd6f9a2c2e6cc8b12df724990106dd27e8ea72ccd192d9fbe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for packaging_version_git-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a592fc2031af8d7f613baf92aa3a43d4554f269f4a280f145607f36cb7e5d9
MD5 36d428f2383b8b2f2554a4a8ec140c83
BLAKE2b-256 ecd706b2d8aa4abf28297b775ff9c0488b1d948faece44b34a4453ee70a2fea1

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