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.1.tar.gz (5.2 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.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for packaging_version_increment-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d27a23d6e1ded266c368f2b71c0ae06615b09ddce6889a1606c56f141746c802
MD5 a02084a8e3359db14e5bdb75a24e2b3f
BLAKE2b-256 c3c7a51ffabbbdb5d1ee1fa79c523809fb9a849e529123df5ad8f3ea14c6a7e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for packaging_version_increment-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21143927cb7917dc126b6208ed2fb0a668b72834985b4c40112f89cddedb6cee
MD5 fb832d91a3496a45bdca84fcc2a7e094
BLAKE2b-256 2982cd3279917229f809f6eae3d4f4f26842494ff6e29c279b3a99e6051a9b5e

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