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
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file packaging_version_increment-0.1.3.tar.gz
.
File metadata
- Download URL: packaging_version_increment-0.1.3.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26817fa0708ff47a66e7a5507409e3b15aea1631ad3a8c06749d6f784d66fe04 |
|
MD5 | e5e7b087d84fc59e2c2c32e429dcb761 |
|
BLAKE2b-256 | 16b6949ade818b3ebcab5c688c0ab2cbd3785f06d1e0c642f933ef789052c0df |
Provenance
File details
Details for the file packaging_version_increment-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: packaging_version_increment-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbb97ff7b12e6c122f50a148af4bcf00e44e094a0b6c3ce5bf37f0cfa78617b4 |
|
MD5 | 71d4d63f4e2144e7365b570120505adc |
|
BLAKE2b-256 | db7fdc99d0cbeba3605276ed17664a98de0e8523c36e3a67400af8aa884f3607 |