Skip to main content

versionah - Simple version specification management

Test state on master Coverage state on master Current PyPI release

Introduction

versionah is a simple tool to help you — or more specifically me — easily maintain version information for a project. Its entire aim is to make the act of displaying or bumping a project’s version number a thoughtless task.

It is written in Python, and released under the GPL v3.

Requirements

versionah should run on Python v3.5 or newer. The only external libraries versionah depends on are click, jinja and jnrbase. If versionah doesn’t work with the version of Python you have installed, file an issue and I’ll endeavour to fix it.

Example

The simplest way to show how versionah works is by example:

$ versionah set example.txt 2.4.3
2.4.3
$ versionah display example.txt
2.4.3
$ versionah bump example.txt minor
2.5.0
$ versionah bump example.txt major
3.0.0

API Stability

API stability isn’t guaranteed across versions, although frivolous changes won’t be made.

When versionah 1.0.0 is released the API will be frozen, and any changes which aren’t backwards compatible will force a major version bump.

Contributors

I’d like to thank the following people who have contributed to versionah.

Patches

  • Marc Abramowitz

  • Ansel Cloutier

  • TakesxiSximada

Bug reports

  • Leal Hétu

  • Matt Leighy

Ideas

  • Ryan Lewis

  • Ryan Sutton

If I’ve forgotten to include your name I wholeheartedly apologise. Just drop me a mail and I’ll update the list!

Bugs

If you find any problems, bugs or just have a question about this package either file an issue or drop me a mail.

If you’ve found a bug please try to include a minimal testcase so I can reproduce the problem, or even better a patch!

Metadata

Release files for versionah 0.16.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 versionah 0.16.0
File Size Uploaded Provenance Actions
versionah-0.16.0.tar.gz 45.0 kB Without provenance Details for versionah-0.16.0.tar.gz

Built distribution (wheel)

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

Total release size: 61.6 kB

Release files / versionah-0.16.0.tar.gz

Download URL versionah-0.16.0.tar.gz
Size 45.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cf64c77554705c93c40228c901fc891c916328b1f015e11dc3b19398b65784bc
BLAKE2b-256 checksum
How to use checksums
6a02e30202a27da14349f79971678b95ee9a0c4c22af7ed98aecd4ef816d2943
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / versionah-0.16.0-py3-none-any.whl

Download URL versionah-0.16.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5f26cd7ff9158a00c53cde1c78eac0e89cdff6ab1e5fd97f6514e0662445d32
BLAKE2b-256 checksum
How to use checksums
848e378e3a29d13d5541371a5c000042adf9a36f02f0cb042897e4fc20823212
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for versionah 0.16.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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