Skip to main content

Update your version while having a drink

Project description

Build Status Version

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.0 (2016-05-19)

  • First release on PyPI.

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

punch.py-1.0.1.tar.gz (17.7 kB view details)

Uploaded Source

File details

Details for the file punch.py-1.0.1.tar.gz.

File metadata

  • Download URL: punch.py-1.0.1.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for punch.py-1.0.1.tar.gz
Algorithm Hash digest
SHA256 74d32d27e74037b02fe968a486fcce14d7dff571147fb3b3443757a291276dad
MD5 80e4b8f7f87b59fcc9573a773e020729
BLAKE2b-256 d10cf4eecf3aa4012b73deffc0f7b29e313df4e162c6855795495ea18622185f

See more details on using hashes here.

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