Skip to main content

pridever

A little script and a little lib to parse pride versions and bump them.

CLI

$ uvx run pridever 1.4.3 proud
v2.0.0
$ uvx run 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.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pridever-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pridever-0.1.0.tar.gz.

File metadata

  • Download URL: pridever-0.1.0.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

Hashes for pridever-0.1.0.tar.gz
Algorithm Hash digest
SHA256 db9037215aec375253fc2f9ad7366684f5debc5a25d4e24abb933c87939ae701
MD5 f7f5831eb0d7e6a1964fc12791286430
BLAKE2b-256 389e3dfda0f5886b51b0a8129b0b30895be682780fc3ca18b6b6d0db9b82df94

See more details on using hashes here.

File details

Details for the file pridever-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pridever-0.1.0-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

Hashes for pridever-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f4e0098e185921c4e07c608a9c71e715b61ce37725059c3fb72868782ba5e5f
MD5 35e87602a685a31c854cdf46efdfcc3f
BLAKE2b-256 5b4207b951334cbf257050c449b1ec51a494e57ac407b5b3dbc3b7d344e3ac06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page