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: 0.3. 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.3.0 reads text, words, layout, tables, images, fonts, and Markdown,
exports them as JSON or retrieval chunks, runs offline OCR, and renders
pages to pixmaps and SVG, drawing the CJK fonts that a document does not
embed in fallback faces. It draws paths and text in colors or gradients,
images, and pages, the text in Standard 14 or OpenType fonts, in color
glyphs and any weight of a variable face, with page.draw; edits pages and their boxes,
text, images, colors, annotations, links, form fields, outlines,
attachments, metadata, page labels, and layers; signs documents and verifies
signatures; removes hidden or active content and subsets fonts; and saves
incrementally, in full, or linearized, with encryption.
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.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 |
|---|---|---|---|---|
| pyropdf-0.3.0.tar.gz | 1.4 MB | With provenance | Details for pyropdf-0.3.0.tar.gz |
Built distributions (wheels)
Total release size: 150.1 MB
Release files / pyropdf-0.3.0.tar.gz
| Download URL | pyropdf-0.3.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e0cc31f77a4f64128c7ee2ae9750266ce345b148021a96633ce2017fe084431
|
|
BLAKE2b-256 checksum How to use checksums |
3184d6d37b183ac87d6dbc6081b395756976d8cf1f443d1df3482d529365d192
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp315-cp315t-win_amd64.whl
| Download URL | pyropdf-0.3.0-cp315-cp315t-win_amd64.whl |
|---|---|
| Size | 10.0 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bc42ec285148d316ede8d881eca9526c124b3f7692333b4a2968670ca91c22e6
|
|
BLAKE2b-256 checksum How to use checksums |
8360007ec229869fa85a829d1ffb9776a86d82499d976ff2faa66a79830217b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pyropdf-0.3.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f0baadc89f4f8872bc683156f654391527398276851257630bef928f463af351
|
|
BLAKE2b-256 checksum How to use checksums |
2a395b582ef0bb4d5a5d3d14c9f1237133ca084794d95bd0a1e85c3902e71f0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | pyropdf-0.3.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
253de2f31e118c682bbf66bdbb71d0f30dd0a8a22678d2c8693e129b4a5f5808
|
|
BLAKE2b-256 checksum How to use checksums |
917865d00257679f70d8351908454e93865376a051e5fc164734b3f69552b3df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp315-cp315t-macosx_11_0_arm64.whl
| Download URL | pyropdf-0.3.0-cp315-cp315t-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b36af74930c2e53b491472dd128f772cb1e6170353dccc19370dfe14d193f776
|
|
BLAKE2b-256 checksum How to use checksums |
375ae9522f9893e0546b7495c48d0af7c0c126bd76fbad2f04dd988f5d786783
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp315-cp315t-macosx_10_12_x86_64.whl
| Download URL | pyropdf-0.3.0-cp315-cp315t-macosx_10_12_x86_64.whl |
|---|---|
| Size | 10.1 MB |
| Tags | CPython 3.15 CPython 3.15 free-threading macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
09fdacca0b8c1ab47f8ae701160ab36178b97ea9be9a1d695638fd318eb101a8
|
|
BLAKE2b-256 checksum How to use checksums |
6e1b34dcce215be060dd2d478abc1187cbaf9f58adb1edc514be42354f3ee23a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp314-cp314t-win_amd64.whl
| Download URL | pyropdf-0.3.0-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 10.0 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
12cd2114d6cf2d9be0e36c7882593dfa984ad94f9a92fd4e9aaab396b1562369
|
|
BLAKE2b-256 checksum How to use checksums |
0887f3bbf335dbf7aead8d0cb9b819cfcf808ec5923daa5e72cb71463ff94464
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pyropdf-0.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
030b22525e63aa5696441b6bcda7e0771ff5ca795010c8b5f0382ece06449c04
|
|
BLAKE2b-256 checksum How to use checksums |
27fbe4feef6bc7c30c2b0324fe746b273c9f4ff4fe5066c04205a134e34bc2c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | pyropdf-0.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
c2ed26f87a81bc4f9da44a71dce856962c1d0656b9907e2bc633dfe57305a6da
|
|
BLAKE2b-256 checksum How to use checksums |
97f21930f170648c4c76e2c3ed23fcbaaa6bbe17a1c94c71e1b6cc84ea252226
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | pyropdf-0.3.0-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d9f1c7a5d0d9087916f403635b142fbe6b5017242d58122d4f6565bc78e83d67
|
|
BLAKE2b-256 checksum How to use checksums |
7309cfccbc2c09c201c57bfe4b7f8c851feeba28bdcca776b6fa6acaaf32200b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp314-cp314t-macosx_10_12_x86_64.whl
| Download URL | pyropdf-0.3.0-cp314-cp314t-macosx_10_12_x86_64.whl |
|---|---|
| Size | 10.1 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
e126e1c237d1b1e34c87125fa106cf9e5b0c5396477dd22eda7e49544a688c54
|
|
BLAKE2b-256 checksum How to use checksums |
c03a2dc4ae71bddd9de821808871fef3c81961feb675090fce0571b47770eeb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp311-abi3-win_amd64.whl
| Download URL | pyropdf-0.3.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 10.0 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0f0f7dd00d370677ed63a11b3943fd672f44a94faf53999e42ff998287ea0948
|
|
BLAKE2b-256 checksum How to use checksums |
d269cb39f14ef4a105ef126021ca238fd70d6672cd23a3864554645d6dd90b4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pyropdf-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
644a308d12f14a4651ece5261edaab025690e0c18d74515389e1ae7a33be78ca
|
|
BLAKE2b-256 checksum How to use checksums |
095e03b913d2bacb517dda2747e040192ad672936ba6ceab5c2e2f0f073d2468
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | pyropdf-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
834b231f11817de97adceeaaf7bf1696a73daeabf34711d456be4ad2653a7dbb
|
|
BLAKE2b-256 checksum How to use checksums |
8b756e2e9bfea23c6ae8709f629bdf6ea5c0828f3cee5f8473948d6bd49df70e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | pyropdf-0.3.0-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
db25e6ffb002601ca2edcd192186e5742fb05556a0c17255dca3bd810bf4738b
|
|
BLAKE2b-256 checksum How to use checksums |
aadd65e8d484cc6ff1725205a5340e48631e2bce235f60f4797f4fa07226ea57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / pyropdf-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | pyropdf-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 10.0 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
911130df8838e32624722871e22e10f90db2439f5aa18430c1caef0e8beb4075
|
|
BLAKE2b-256 checksum How to use checksums |
8e0dbc360935eedee41a68ce745d80bde2a0dd10e9a5d72aa86441d3942e84cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logSecurity for pyropdf 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 16 files in this release have been uploaded with provenance metadata.
Attestation for pyropdf-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 Nov 6, 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.