Skip to main content

donk

donk is a minimal version management tool for pyproject.toml files.

It does three things:

  1. Bump the (major|minor|patch) version in your pyproject.toml file
  2. Print the version set in your pyproject.toml file
  3. Write the version to a file in your module

Installation

$ pipx install donk

Usage

$ donk
Usage: donk [OPTIONS] COMMAND [ARGS]...

  donk is a minimal version management tool for pyproject.toml files

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  major  Bump the major version
  minor  Bump the minor version
  patch  Bump the patch version
  show   Display version set in project file

Configuration

You can configure donk to write the version to a python file using the tool section in pyproject.toml:

[tool.donk]
write_module_version = "donk/__init__.py"

This will write __version__ = "$current_version" at the same time as the version in pyproject.toml is bumped.

Metadata

Release files for donk 1.1.0

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

Source distribution (sdist)

Source distribution for donk 1.1.0
File Size Uploaded Provenance Actions
donk-1.1.0.tar.gz 15.3 kB Without provenance Details for donk-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 31.4 kB

Release files / donk-1.1.0.tar.gz

Download URL donk-1.1.0.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8b53c2f728772d4cb26e177c513fbb33cd29240f5b649952ed72fad69c7687a6
BLAKE2b-256 checksum
How to use checksums
616e8d044ab7beaa177ccd3cebff9e7ca50c783dbf1d59ccdf08031b1199641a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / donk-1.1.0-py3-none-any.whl

Download URL donk-1.1.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2af06cfe156e483224a4f62914afccbe13414a87d46c8cb85a737234bca6de00
BLAKE2b-256 checksum
How to use checksums
ccf7e3087dd7e59c1d8b1495f6648ad5eb16405c17132f4639f36005c2c23cd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.3

Security for donk 1.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

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