pridever
A little script and a little lib to parse pride versions and bump them.
CLI
$ uvx pridever 1.4.3 proud
v2.0.0
$ uvx pridever 1.4.3 normal --beta
v1.5.0beta0
lib
>>> from pridever import PrideVer
>>> PrideVer.from_str("v1.4.3").bump("proud")
v2.0.0
>>> PrideVer(1, 5, 0).bump("normal", beta=True)
v1.6.0beta0
>>> PrideVer(1, 5, 0, "beta0").bump(post=True) # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
ValueError: Cannot bump to a post-release from v1.5.0beta0
Why?
There is definitely a lot of similar tools out there, but writing this brought me joy, which was enough of a reason for me. It was written for slidge.
Metadata
Release files for pridever 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pridever-0.1.1.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pridever-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / pridever-0.1.1.tar.gz
| Download URL | pridever-0.1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa1fdb26880f02130bd0929650677e2ef7ea8b6b79e12f5918eddb0ca7084644
|
|
BLAKE2b-256 checksum How to use checksums |
56beb5612b78b1582a825ea36b5a9f0a84093817c717a9c63ba3df7495f19380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pridever-0.1.1-py3-none-any.whl
| Download URL | pridever-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56ae44888d8b75b76004640be99ca76ac44293239ccff318414376fe278df94c
|
|
BLAKE2b-256 checksum How to use checksums |
eaa018d378c93822a79e62e89f997350c5e32e839e7f1068abcc93afd87d29f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|