Skip to main content

Bump version by modifying source code. No regex needed from user.

Project description

jiggle_version

Version bumper that finds version numbers in source code and increases the build number by modifying source.

With jiggle-version, the source code is authoritative, as compared to some tools where the source control tag is authoritative, or the pyproject.toml is authoritative. You should consider instead using poetry version patch and looking up the __version__ from the package metadata.

Special attention to making sure you don't have to write regex or do complex configuration.

pip install jiggle-version
 
jiggle-version here
# find, bump & update version strings in source code

jiggle_version here --module=my_module

git --tag $(jiggle-version find)

Badges

How's it doing?

Read the Docs Coverage Status BCH compliance Known Vulnerabilities Total Alerts CodeFactor

Python Versions Supported

3.6, 3.7, 3.8, and forward. Pypi still hosts the old version that supported python 2 and earlier.

Opinionated

A library should have one working, no-options, no questions asked scenario, e.g.

jiggle-version here
# find, bump & update version strings in source code

An opinionated library has an opinion about the right way to do it. That said, if the library can discover existing conventions, it should discover them and use them. If you don't like it, see the end for competing opinionated libraries and their philosophy, such as vcs-tag-only, regex-more-regex-all-day-regex.

The following contraints enable "drop in and go"

No Config, No Regex

If the config is more complex than re-writing the code from scratch, there is something wrong with a library. Forcing the developer to write regex to use a utility is a collosal cop out.

Documentation

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jiggle_version-1.0.77-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

Details for the file jiggle_version-1.0.77-py3-none-any.whl.

File metadata

  • Download URL: jiggle_version-1.0.77-py3-none-any.whl
  • Upload date:
  • Size: 43.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.7

File hashes

Hashes for jiggle_version-1.0.77-py3-none-any.whl
Algorithm Hash digest
SHA256 27ff9e9105a5a1d93a2532c7d9904a0d58a4e7b642259d990dcaa1dab0934f5e
MD5 d1192d5a898e50850ce5423e6d020aa7
BLAKE2b-256 c9767d487e4ef360ebe23478b2f493c58948da5abb89e0cd5b74cc2a80ab7ee1

See more details on using hashes here.

Supported by

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