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
Metadata
Release files for packaging-version-increment 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| packaging_version_increment-0.1.3.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| packaging_version_increment-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / packaging_version_increment-0.1.3.tar.gz
| Download URL | packaging_version_increment-0.1.3.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26817fa0708ff47a66e7a5507409e3b15aea1631ad3a8c06749d6f784d66fe04
|
|
BLAKE2b-256 checksum How to use checksums |
16b6949ade818b3ebcab5c688c0ab2cbd3785f06d1e0c642f933ef789052c0df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.1
|
Release files / packaging_version_increment-0.1.3-py3-none-any.whl
| Download URL | packaging_version_increment-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbb97ff7b12e6c122f50a148af4bcf00e44e094a0b6c3ce5bf37f0cfa78617b4
|
|
BLAKE2b-256 checksum How to use checksums |
db7fdc99d0cbeba3605276ed17664a98de0e8523c36e3a67400af8aa884f3607
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.1
|