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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pridever-0.1.1.tar.gz
(2.6 kB
view details)
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 pridever-0.1.1.tar.gz.
File metadata
- Download URL: pridever-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa1fdb26880f02130bd0929650677e2ef7ea8b6b79e12f5918eddb0ca7084644
|
|
| MD5 |
1d0b34fd5dc3252a743f26ebe31a5865
|
|
| BLAKE2b-256 |
56beb5612b78b1582a825ea36b5a9f0a84093817c717a9c63ba3df7495f19380
|
File details
Details for the file pridever-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pridever-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56ae44888d8b75b76004640be99ca76ac44293239ccff318414376fe278df94c
|
|
| MD5 |
db6240e83db029197248c199ac4f2edf
|
|
| BLAKE2b-256 |
eaa018d378c93822a79e62e89f997350c5e32e839e7f1068abcc93afd87d29f6
|