Simple version specification management
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.
versionah should run on Python v2.6 or newer , including Python v3. The only external library versionah currently depends on is jinja. If versionah doesn’t work with the version of Python you have installed, file an issue and I’ll endeavour to fix it.
If you would like coloured terminal output, then you will need blessings.
|||If you still run older Python versions only small changes should be required, for example the unrolling of conditional expressions and redefining of except..as structures.|
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 $ rm example.txt <BLANKLINE>
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.
I’d like to thank the following people who have contributed to versionah.
- Marc Abramowitz
- Ansel Cloutier
- Leal Hétu
- Matt Leighy
- Ryan Lewis
If I’ve forgotten to include your name I wholeheartedly apologise. Just drop me a mail and I’ll update the list!
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|versionah-0.15.2-py2.py3-none-any.whl (16.3 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Apr 29, 2014|
|versionah-0.15.2.tar.bz2 (53.2 kB) Copy SHA256 Checksum SHA256||–||Source||Apr 29, 2014|
|versionah-0.15.2.tar.gz (58.3 kB) Copy SHA256 Checksum SHA256||–||Source||Apr 29, 2014|