PDFFile
A ZipFile like API for PDFs using PyMuPDF as a backend.
📜 News
PDFFile has a NEWS file to summarize changes that affect users.
🕸️ HTML Docs
HTML formatted docs are available here
📦 Dependencies
The pymupdf dependency usually has wheels that install a local version of libmupdf. But for some platforms (e.g. Windows) it may require libstdc++ and c/c++ build tools installed to compile a libmupdf. More detail on this is available in the pymupdf docs.
🧶 Data Types
MuPDF reads and writes all data types as strings. PDFFile automatically converts pdf date strings to python datetimes and pdf/xml boolean strings to python bools and back.
The helper functions to_datetime, to_pdf_date, to_bool, and to_xml_bool are available on the PDFFile class.
Installing on Linux on ARM (AARCH64) with Python 3.13
Pymupdf has no pre-built wheels for AARCH64 so pip must build it and the build fails on Python 3.13 without this environment variable set:
PYMUPDF_SETUP_PY_LIMITED_API=0 pip install comicbox-pdffile
You will also have to have the build-essential and python3-dev or equivalent
packages installed on on your Linux.
🛠️ API
Attached to these docs in the navigation header there are some auto generated API docs that might be better than nothing. But the code is really small and shouldn't be difficult to interpret.
🛠 Development
PDFfile code is hosted at Github
Metadata
Release files for comicbox-pdffile 1.0.1
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 | |
|---|---|---|---|---|
| comicbox_pdffile-1.0.1.tar.gz | 224.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comicbox_pdffile-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 239.0 kB
Release files / comicbox_pdffile-1.0.1.tar.gz
| Download URL | comicbox_pdffile-1.0.1.tar.gz |
|---|---|
| Size | 224.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e291ec289a9b62e213516d0bfce99d747667948762ce37d26b651797a834e385
|
|
BLAKE2b-256 checksum How to use checksums |
d8cf8c631c29f82b4f19fdd7715212228fcfedf171885683ee27a454b7bd6dd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / comicbox_pdffile-1.0.1-py3-none-any.whl
| Download URL | comicbox_pdffile-1.0.1-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3274cdd474fe845c57451c033cdda6139d9dbb75e7386f2027318946be23e66a
|
|
BLAKE2b-256 checksum How to use checksums |
03fbf643d50a8a3ea8b2553ffe08c5b2f50be56443828570d3957b0c5f475014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for comicbox-pdffile 1.0.1
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.