Skip to main content

pybumpit

A CLI tool that mimics npm version behavior for Python projects.

Features

  • Read/write version from pyproject.toml
  • Bump version (patch/minor/major)
  • Create git commit and tag automatically
  • Interactive mode with beautiful prompts
  • Dirty working directory check (like npm)
  • Zero configuration required

Installation

pip install pybumpit

Or with uv:

uv add pybumpit

Usage

Interactive Mode

pybumpit

Shows a prompt to select version type (patch/minor/major).

CLI Mode

pybumpit patch     # 0.1.0 -> 0.1.1
pybumpit minor     # 0.1.0 -> 0.2.0
pybumpit major     # 0.1.0 -> 1.0.0

Options

  • -f, --force - Allow bump with uncommitted changes
pybumpit patch --force

Behavior

Feature Description
Dirty check Fails if uncommitted/untracked files exist
Commit message v{version} (e.g., v1.0.1)
Tag format v{version} (annotated tag)
Without git Just updates pyproject.toml

Requirements

  • Python >= 3.12
  • pyproject.toml with [project] section containing version

License

MIT

Metadata

Release files for pybumpit 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybumpit 1.0.2
File Size Uploaded
pybumpit-1.0.2.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pybumpit 1.0.2
File Interpreter ABI Platform
pybumpit-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 29.9 kB

Release files / pybumpit-1.0.2.tar.gz

Download URL pybumpit-1.0.2.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cc164d99204a198a4d2ebe9f9f0a32ef169d2e7ca83c5984f9e49bbfac7254e2
BLAKE2b-256 checksum
How to use checksums
e7058fdbd51030113b91163dfbb341f0e199f7fc6f79e6ab0a296519fcf55ab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 25, 2026.

Transparency log

Release files / pybumpit-1.0.2-py3-none-any.whl

Download URL pybumpit-1.0.2-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
114dae4606e9a7fe93b39b039484731b070b116afa23e5b4505538c7ed4fb2ae
BLAKE2b-256 checksum
How to use checksums
2a26192ea7a205d4d973f920954b1adb806da5aea2bfd16545554f3f5e5b9860
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page