Update your version while having a drink
Project description
Update your version while having a drink
About punch
Punch is a configurable version updater, and you can use to automate the management of your project’s version number.
Punch stores the version of your project in its own file. Each time you need to update it, Punch runs through the configured files and replaces the old version with the new one. Additionally, Punch may also automatically commit the version change on your VCS of choice.
This project has been heavily inspired by bumpversion, and I want to thank Filip Noetzel, the author of that project for his work and the inspiring ideas.
Installation
Punch is available for both Python 2 and Python 3 through pip. Just create a virtual environment and run
pip install punch.py
To start working with Punch you need a configuration file and a version file. You may ask Punch to create the two files for you with reasonable starting values with the flag --init
punch --init
which will create the punch_config.py and punch_version.py files in the current directory.
History
1.0.2 (2016-05-24)
Fixed the PyPI badge in the documentation
Added some examples both in documentation and in the test suite
1.0.1 (2016-05-21)
Last minute change of package name on PyPI due to a name clash.
1.0.0 (2016-05-19)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file punch.py-1.1.0.tar.gz
.
File metadata
- Download URL: punch.py-1.1.0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae147eb1697f52af46d2eaecae0f9ead569d8a25ad41ac7a35187e4b09d388f |
|
MD5 | ec2d4a0ee16a0e442bd2e99dca04042d |
|
BLAKE2b-256 | 0b6ec5b483f7b094631d44edaf62576c9c6c96743690241c964fa9af107bc615 |