Skip to main content

yet another python package version bump tool

Project description

vbump

vbump is yet another Python package version bump tool. Unlike others, e.g. bumpversion, changes, etc., it aims to just do the obvious thing without any unneeded configuration or requirements.

It is a simple < 100 LOC package which has no dependencies and is compatible with Python 2.7 and 3.5+.

Prerequisites

  • A SemVer version string specified in either setup.py or __version__.py.
  • If __version__.py exists that will be used; the expected fromat is VERSION = "1.0.0".
  • Otherwise setup.py will be used.

Installing

$ pip install vbump

Usage

usage: vbump [-h] [--patch | --minor | --major] [--test]

Yet another Python version bumper

optional arguments:
  -h, --help  show this help message and exit
  --patch     increment patch level
  --minor     increment minor level
  --major     increment major level
  --test      shows result of version bump with writing

Examples

  • vbump --major to increment from version 1.0.0 to 2.0.0.
  • vbump --minor --test to preview updating from version 1.0.0 to 1.1.0.
  • if no arguments are specified the current version will be printed without changes.

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

vbump-1.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

vbump-1.2.0-py2.py3-none-any.whl (3.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file vbump-1.2.0.tar.gz.

File metadata

  • Download URL: vbump-1.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.35.0 CPython/3.7.5

File hashes

Hashes for vbump-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7cd38560ba6d36c7b537c433e217aed814e9c172e157e7963e18ca5deac97567
MD5 3bc8f0894db65bc11ab1ce125ac6cb96
BLAKE2b-256 a16b9f1c28463a7e43813b45332cd6c4c8eec5942ef49fc1b541cf8bcc1f3807

See more details on using hashes here.

File details

Details for the file vbump-1.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: vbump-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.35.0 CPython/3.7.5

File hashes

Hashes for vbump-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e9f9022efb54289332c50aa4c977cceae70d2202bd1f0b9b0cb39c2411992ffc
MD5 a0d94cf80decc1a04277591621789cad
BLAKE2b-256 48e23992a0a69b496b8b227afa86e8afa48530793ba5b797e101060beb063200

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