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.3.tar.gz (17.4 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.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for comicbox_pdffile-0.2.3.tar.gz
Algorithm Hash digest
SHA256 8b93d69d1e5b5386d9caa752762557de484d3537e84a3b78cd59066a3ed8ce4d
MD5 006293383411512306afd24ca1eab3db
BLAKE2b-256 67f12132e4f6a2d98899446e6a90413dc1a0c3f3247327d88a34b6f955d2f154

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for comicbox_pdffile-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 67871a55b6d3d288fda4f711022b77f5d44f645634a9d0da2ab9b673c1675d29
MD5 99d36096528ded55f4f0361ae932180c
BLAKE2b-256 d5974b7c187b1c8f62fb3a8dec7b1ae2ffc5fedc0e297dbfd393e7633c46f2e6

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