Skip to main content

A ZipFile like API for PyMuPDF

Project description

PDFFile

A ZipFile like API for PDFs using PyMuPDF as a backend.

Look in pdffile.py for exposed functions.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comicbox_pdffile-0.2.2.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comicbox_pdffile-0.2.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file comicbox_pdffile-0.2.2.tar.gz.

File metadata

  • Download URL: comicbox_pdffile-0.2.2.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for comicbox_pdffile-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7b683faed69e482c8cf78feb91948ebe826495e5398099b9b32f460ca52cc0be
MD5 20b3e6cd8177ec394c6c6736aec8cde1
BLAKE2b-256 ebe80e9afe27fc81b5ff79e5ceb7bb72ddef5bb23af0514ddca8829250d57d8d

See more details on using hashes here.

File details

Details for the file comicbox_pdffile-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for comicbox_pdffile-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9ae8826ff3d46a9c51371a6f0355f49d9de883f0c1e6adbe3ca2158171002ae7
MD5 d0b781d060429f4e1152d2b780a7a94e
BLAKE2b-256 0fffb2fa2e2c520d85643a48e49af2e854d88976efb6bfc196abeb84b4167ccd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page