Skip to main content

verbum

A version bumping library.

Examle

from verbum import verbum

current_release = "1.1.1"
new_release = verbum.bump_version(current_release, verbum.BumpType.ALPHA)
print(new_release)  # 1.1.1a1

Version strings

Input

verbum is opinionated and version strings accepted by bump_version are a subset of valid strings specified in PEP440.

Output

Version strings output by bump_version are PEP440 compliant.

Ruleset on top of PEP440

  1. Three version numbers are mandatory: X.Y.Z.
  2. A leading forth number (epoch) is forbidden.
  3. Pre-release identifier like alpha, beta and release-candidates are only allowed with their abbreviations:
    • alpha -> a
    • beata -> b
    • release-candidate -> rc
  4. Other variante as rc are not supported for release-candidates.
  5. Pre-release identifier must follow the scheme {a|b|rc}N where N is an interger.
  6. Pre-release and post-release counter must start with 1 not 0. A 0 is interpreted as not set. This means e.g. bumping a post-release on this 1.1.1rc0 would result in 1.1.1.post1.
  7. Additional identifiers or separators are forbidden.

Valid examples

1.2.3a1
1.2.3b1
1.2.3rc1
1.2.3

1.2.3.post1
1.2.3a1.post1
1.2.3b1.post1
1.2.3rc1.post1

Metadata

Release files for verbum 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for verbum 2.0.0
File Size Uploaded Provenance
verbum-2.0.0.tar.gz 9.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for verbum 2.0.0
File Interpreter ABI Platform
verbum-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / verbum-2.0.0.tar.gz

Download URL verbum-2.0.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1382516101b935a792f69913c3ef245efaa7afb903e577203960d1f37edb1e63
BLAKE2b-256 checksum
How to use checksums
053255e1e1dc3efbd145cbc2f3f0a72804a363d651815ff9b06a5604996689d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-113-generic

Release files / verbum-2.0.0-py3-none-any.whl

Download URL verbum-2.0.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f78ef636e3c5e04672a865fd25e25503899164231166205c5a2696c5eb78b827
BLAKE2b-256 checksum
How to use checksums
0832646cf2b3341cda08c4113c6ab1cbdb8c13be203fa3f879a1a26841013d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-113-generic

Security for verbum 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page