Skip to main content

Implementation of version increase following PEP 440 and SemVer conventions

Project description

packaging-version-increment

Implementation of version increase following PEP 440 and SemVer conventions

PyPI PyPI - Python Version

Coverage Quality Gate Status

Downloads GitLab stars GitLab last commit

Documentation

Install:

pip install packaging-version-increment

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-increment/-/issues
Source Code: https://gitlab.com/rocshers/python/packaging-version-increment

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_increment-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

packaging_version_increment-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for packaging_version_increment-0.1.0.tar.gz
Algorithm Hash digest
SHA256 467af35760664b31639fa4f1198309bf7a6d20a6ad9636c554d8e70b005a1a9a
MD5 a5a8b8b4cb455127333cec248f70c00a
BLAKE2b-256 cdf0fe43084056d7c8f91d319a170e797e97f561b9fc44b2ad9547a47cd1c7e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for packaging_version_increment-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23a1e6c14e884f9d702bb963fbf05ace7dd8db70bdc6f10e7afb716d0754d847
MD5 1db5c7f34357f214dc5cd259a9baa15e
BLAKE2b-256 8162697170a2bf9dcdcfdb779beb73c6113b3ea6544f8e1af359ac9c7fa613d1

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