pyropdf
pyropdf is a Python library, implemented in Rust, for complete control of PDF as ISO 32000-2 defines it. It keeps a document on one versioned object store that every engine reads, so an edit costs what it touches, every change can be undone, and a failed transaction leaves the document as it was.
Status: alpha, 0.2. The API may change between minor versions. Documentation: https://pyropdf.haya.works/. DESIGN.md describes the foundation, and CHANGELOG.md what each release holds.
pip install pyropdf
import pyropdf
with pyropdf.open("input.pdf") as doc:
page = doc.pages[0]
print(page.text())
page.pixmap(dpi=144).save("page-1.png")
with doc.transaction("rotate"):
page.rotation = 90
doc.save("output.pdf", incremental=True)
0.2 reads text, words, layout, tables, images, and Markdown, runs offline
OCR, renders pages to pixmaps and SVG, edits pages and their boxes,
annotations, links, form fields, outlines, attachments, metadata, page
labels, and layers, removes hidden or active content, subsets fonts, and
saves incrementally or in full, with encryption. Drawing on a page with
page.draw comes in a later release.
Safety claims
No pyropdf release claims safety for untrusted input before hayro's bounded
construction (I2, #15) is
released. DocumentLimits bounds the work of an operation, but it is not
that claim.
Contributing
CONTRIBUTING.md explains how to build, test, and propose a change, and SECURITY.md how to report a vulnerability.
Metadata
Release files for pyropdf 0.2.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 |
|---|---|---|---|---|
| pyropdf-0.2.0.tar.gz | 879.6 kB | With provenance | Details for pyropdf-0.2.0.tar.gz |
Built distributions (wheels)
Total release size: 113.7 MB
Release files / pyropdf-0.2.0.tar.gz
| Download URL | pyropdf-0.2.0.tar.gz |
|---|---|
| Size | 879.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8424a8fd354da7159a83b7c232f7c9a18c398df403f065efd41d39c0c5b8e54
|
|
BLAKE2b-256 checksum How to use checksums |
a2542737c27821b575ca07023803d7ac017593132e1222307c04a6c24ad45602
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp315-cp315t-win_amd64.whl
| Download URL | pyropdf-0.2.0-cp315-cp315t-win_amd64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2dcf149e4ae09695ad3aeb3563077c71dc942398cc8426face19f77d17d3fdc2
|
|
BLAKE2b-256 checksum How to use checksums |
fb9030c8d5ad67bb54e83b56331181de1985505094d94b3af7690b55a110e729
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyropdf-0.2.0-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 8.0 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
cfbaca8fc61c111e43ecf39ecce3afa5381e7c4cf1197709891ded7e4e2b9e52
|
|
BLAKE2b-256 checksum How to use checksums |
a24b3640663adf3045865a882188229a5532567a64ec6b7a269cb5be22000ee9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp315-cp315t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pyropdf-0.2.0-cp315-cp315t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 7.5 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
dbd828ed0bb45fceb0c7fcfa90f4e51a30b79effdc29643f17187f8c5bfeab19
|
|
BLAKE2b-256 checksum How to use checksums |
f547d7152071bcfbadbfd0047e720e94278c68deaa4a161e8c42b53e7173a4a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp315-cp315t-macosx_11_0_arm64.whl
| Download URL | pyropdf-0.2.0-cp315-cp315t-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0b58d66037a4e06af23674b8f5cdd11ec1a5409b8de9deffcdb8ea331f482d93
|
|
BLAKE2b-256 checksum How to use checksums |
d29d119d9c6d958bf20018e7dfe2f00ff25076618b695bae1375ba4ea2c9357e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp315-cp315t-macosx_10_12_x86_64.whl
| Download URL | pyropdf-0.2.0-cp315-cp315t-macosx_10_12_x86_64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
2519f5d7f929cb559a199aa3919d09658c200febedfb96a21b188cc328e2a24e
|
|
BLAKE2b-256 checksum How to use checksums |
8a179f7d8b127372eb39b0a97efaa8e3ec8731ec24be12cce6d08ee9c0c75351
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp314-cp314t-win_amd64.whl
| Download URL | pyropdf-0.2.0-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ce90ac6cf579fee1cbbcb92d68d017d084d0e969b1cd6b8606d6add3e9cbefa2
|
|
BLAKE2b-256 checksum How to use checksums |
f65e0706918da7a45b6932898215227523951bb2d3c7ce18cacee40a7684355c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyropdf-0.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 8.0 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7e9955abe11289066ecadc33d32607cfe8d9b0ea3523eb48e886287a01c4add1
|
|
BLAKE2b-256 checksum How to use checksums |
91d21124a2751ea0bd3bba36a1f9fc11ecd03748614c4325d0944a94a65625b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pyropdf-0.2.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 7.5 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
d984c09bbe8dabcf8d87e9a97a76bc5289420ab0646b1b50ebd7a72e6b22ae53
|
|
BLAKE2b-256 checksum How to use checksums |
2229d002baa1f7f62bcaae3295a52b8925a2157b97d42b15e8548175bd0ed98a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | pyropdf-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3fe9a43fa8c6a800fd524abe4e411da46bf421ec37017e17be7ae1fa26cf71a5
|
|
BLAKE2b-256 checksum How to use checksums |
a385c25b453342c2d50824758568288ae768abd9b082c9b4bba82e3082010f8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp314-cp314t-macosx_10_12_x86_64.whl
| Download URL | pyropdf-0.2.0-cp314-cp314t-macosx_10_12_x86_64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
da8ae80e776f72a9f23333e7eed0f54139a8464bb849cf35efc0e9bdf338ad0b
|
|
BLAKE2b-256 checksum How to use checksums |
d4efdb706529b644bca7667dd79ad7ae1659e263f0b13826599a57aeb72d146c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp311-abi3-win_amd64.whl
| Download URL | pyropdf-0.2.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e1f429f605b9f7a4e411f04b0dbfdecbc49c946b2f4eddc6f08f73e21726fb4f
|
|
BLAKE2b-256 checksum How to use checksums |
94369dee7f9b5c62cffd36f84ff469e6c963c47687f62f588b79fed00239bad4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyropdf-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 8.0 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
d4cd795598d4abdd89c2f8cf2c9e4fc47b47826571d0f0c7f4ca78361043a667
|
|
BLAKE2b-256 checksum How to use checksums |
ebb2e3cfb95d8e9934a9aa716d12b3459126609a5dfe7d472edc19c8766a3f55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pyropdf-0.2.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 7.5 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
89eff3a561dfdb59ab17f156084e2bb3320d70e43df7ef50b4546aa8b8c0c269
|
|
BLAKE2b-256 checksum How to use checksums |
6bcd617f3ab2702d79fcacc6c7f00b3683e574a2975f30a22be7beab8b934313
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | pyropdf-0.2.0-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
10e34eb7aa345d3b6fad7bf3450f39b9739d18019a7b50171d4d6e6568ddf308
|
|
BLAKE2b-256 checksum How to use checksums |
85e2ff88ccca5cb2c875966d3b4f27b97945ca0f07a08ece600a7dea7d548fd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logRelease files / pyropdf-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | pyropdf-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
b0142a10da964fb601070730bcc8056dab15c4e99aa362ff7f179de38325d8fb
|
|
BLAKE2b-256 checksum How to use checksums |
a8d7e82d2b0eeb549e4151f6b8d4f6ee85674c6dee7e16324115eed706554abb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 30, 2026.
Transparency logSecurity for pyropdf 0.2.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 16 files in this release have been uploaded with provenance metadata.
Attestation for pyropdf-0.2.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 Oct 30, 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.