Skip to main content

Simple version specification management

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

versionah-0.16.0.tar.gz (45.0 kB view hashes)

Uploaded Source

Built Distribution

versionah-0.16.0-py3-none-any.whl (16.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page