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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for packaging_version_increment-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7ed177650e6225bf4e94ad6ebea7cdc42612bad838c86ed7abfd6cb638646012
MD5 35291ff62a3fba266faa72ac25d400f6
BLAKE2b-256 7a6777acd165b1d381e4a17e7a0aef0ce5fcd4445e44acf1c3d354507da47009

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for packaging_version_increment-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e12652fa42a3cd4f8c5a13767b968bbf7b4cf4c88c4ca934b3a27a82c285233
MD5 298f70fc0e06082b03e2b7c921a464a7
BLAKE2b-256 4f7f109848fec5a35c95a469b811a7466ec422d6974499c23717cb2ed64b21a5

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