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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for packaging_version_increment-0.1.3.tar.gz
Algorithm Hash digest
SHA256 26817fa0708ff47a66e7a5507409e3b15aea1631ad3a8c06749d6f784d66fe04
MD5 e5e7b087d84fc59e2c2c32e429dcb761
BLAKE2b-256 16b6949ade818b3ebcab5c688c0ab2cbd3785f06d1e0c642f933ef789052c0df

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for packaging_version_increment-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fbb97ff7b12e6c122f50a148af4bcf00e44e094a0b6c3ce5bf37f0cfa78617b4
MD5 71d4d63f4e2144e7365b570120505adc
BLAKE2b-256 db7fdc99d0cbeba3605276ed17664a98de0e8523c36e3a67400af8aa884f3607

See more details on using hashes here.

Provenance

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