Skip to main content

A tool to bump the version in setup.py in python projects

Project description

Bump-Setup

@readwithai - X - blog - machine-aided reading - 📖⚡️🖋️

A command-line tool to bump the version in place a setup.py bumping major, minor, or patch versions.

Notivation

I got bored of bumping versions but hand so made this tool.

Alternatives and prior work

There is a tool called bumpversion which is quite similar but wants to take the files that get modified.

Installation

You can install bump-setup using pipx:

pip install bump-setup

Usage

To bump the version in setup.py, run the following command:

bump-setup <major|minor|patch>

Examples

bump-setup major  # Increments the major version
bump-setup minor  # Increments the minor version
bump-setup patch  # Increments the patch version

About me

I am @readwithai. I create tools for reading, research and agency sometimes using the markdown editor Obsidian.

I also create a stream of tools that are related to carrying out my work. There are various python tools here.

I write about lots of things - including tools like this - on X. My blog is more about reading and research and agency.

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

bump_setup-1.0.0.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file bump_setup-1.0.0.tar.gz.

File metadata

  • Download URL: bump_setup-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for bump_setup-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ad974f9b317e59381879debb4db52937b9c47d6293c19ef1490f9e1ebc3234dd
MD5 2c6409ef77c8d9d4e2a51c1a8f44fa71
BLAKE2b-256 cfbf372b3f6f26a82e959c6c1cedf45dede9e95a4071d0d8a845480c24da2cd3

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