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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file packaging_version_increment-0.1.2.tar.gz.
File metadata
- Download URL: packaging_version_increment-0.1.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ed177650e6225bf4e94ad6ebea7cdc42612bad838c86ed7abfd6cb638646012
|
|
| MD5 |
35291ff62a3fba266faa72ac25d400f6
|
|
| BLAKE2b-256 |
7a6777acd165b1d381e4a17e7a0aef0ce5fcd4445e44acf1c3d354507da47009
|
File details
Details for the file packaging_version_increment-0.1.2-py3-none-any.whl.
File metadata
- Download URL: packaging_version_increment-0.1.2-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 |
0e12652fa42a3cd4f8c5a13767b968bbf7b4cf4c88c4ca934b3a27a82c285233
|
|
| MD5 |
298f70fc0e06082b03e2b7c921a464a7
|
|
| BLAKE2b-256 |
4f7f109848fec5a35c95a469b811a7466ec422d6974499c23717cb2ed64b21a5
|