pyproject-patcher
This Python package is an attempt to make it a little easier to
patch pyproject.toml in place.
It is mainly useful for maintainers of system packages.
If you’re not a maintainer of system packages, or if you don’t know
what that means, then pyproject-patcher is probably not for you.
Features
-
Hard code a version number into
project.version -
Disable all invocations of the dynamic version generator
setuptools-git-versioning -
Remove dependency to
setuptools-git-versioningfrombuild-system.requires -
Configure
setuptools-git-versioningto use a version template without a.dirtysuffix
Installation
Installing from PyPI
To install pyproject-patcher from PyPI, open a shell and run:
pip install pyproject-patcher
If that doesn’t work, try:
python3 -m pip install pyproject-patcher
Installing from the AUR
Direct your favorite
AUR helper to the
python-pyproject-patcher package.
Usage
See USAGE.md
for details.
Contributing to pyproject-patcher
See CONTRIBUTING.md.
License
Copyright (c) 2024–2025 Claudia Pellegrino
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. For a copy of the License, see LICENSE.
Metadata
Release files for pyproject-patcher 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyproject_patcher-0.3.0.tar.gz | 70.4 kB | With provenance | Details for pyproject_patcher-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyproject_patcher-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for pyproject_patcher-0.3.0-py3-none-any.whl |
Total release size: 84.9 kB
Release files / pyproject_patcher-0.3.0.tar.gz
| Download URL | pyproject_patcher-0.3.0.tar.gz |
|---|---|
| Size | 70.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
818182efa15b9703faff0dc9c8adf515bb96bf95b2b2f6a9b3b1994e575150c6
|
|
BLAKE2b-256 checksum How to use checksums |
9e258943abe66b45ba347bd7002b05d2168293db279278c0d2b13ead972325aa
|
| 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 24, 2026.
Transparency logRelease files / pyproject_patcher-0.3.0-py3-none-any.whl
| Download URL | pyproject_patcher-0.3.0-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
767f17ab6bafeb9034d8d4ea6d8292b1f1b5cb5738015c4a888aad2ac933c1c5
|
|
BLAKE2b-256 checksum How to use checksums |
24cf120f3b49eb99fdfdd9c01db7df5dd0e4a0e19bc02fe966593e3963e6b990
|
| 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 24, 2026.
Transparency logSecurity for pyproject-patcher 0.3.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pyproject_patcher-0.3.0.tar.gz
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 24, 2026.
Transparency logA 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.