Skip to main content

Python bindings for the PDF rendering library MuPDF

Project description

Release date: March 29, 2018

Authors

  • Ruikai Liu

  • Jorj X. McKie

Introduction

This is version 1.12.5 of PyMuPDF, a Python binding for MuPDF - “a lightweight PDF and XPS viewer”.

MuPDF can access files in PDF, XPS, OpenXPS, epub, comic and fiction book formats, and it is known for its top performance and high rendering quality.

With PyMuPDF you therefore can also access files with extensions *.pdf, *.xps, *.oxps, *.epub, *.cbz or *.fb2 from your Python scripts.

PyMuPDF should run on all platforms that are supported by both, MuPDF and Python. These include, but are not limited to, Windows (XP SP2 and up), Mac OS and Linux, 32-bit or 64-bit. If you can generate MuPDF on a Python supported platform, then also PyMuPDF can be used there.

PyMuPDF is hosted on GitHub where you find up-to-date information of its features, our issue tracker, Wikis and much more.

Installation

For all MS Windows versions (XP/SP2 and up), and popular Max OS and Linux versions, we are providing Python wheels - see the download section of this site and the current release directory of our home page. For Windows users, zip-based installation options are also available. Other platforms need to download and generate the MuPDF library first and then set up PyMuPDF. Do visit our GitHub home, which has more details on this, including latest bugfixes, pre-releases, etc.

Usage and Documentation

For all document types you can render pages in raster (PNG) or vector (SVG) formats, extract text and access meta information, links, annotations and bookmarks, as well as decrypt the document. For PDF files, most of this information can also be modified. Plus you can rotate, re-arrange, duplicate, create, or delete pages and join or split documents.

Specifically for PDF files, PyMuPDF provides update access to low-level structure information, supports handling of embedded files and modification of page contents (like inserting images, fonts, text and drawings). Latest features include embedding vectorized images (SVG, PDF) such as logos or watermarks, “posterizing” a PDF or creating “booklet” and “4-up” versions.

Our home page provides many examples and How-Tos for all of this. At a minimum, read the tutorial section of our documentation.

You have a number of options to access the documentation:

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

PyMuPDF-1.12.5.tar.gz (129.8 kB view details)

Uploaded Source

Built Distributions

PyMuPDF-1.12.5-cp36-cp36m-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.6m Windows x86-64

PyMuPDF-1.12.5-cp36-cp36m-win32.whl (2.6 MB view details)

Uploaded CPython 3.6m Windows x86

PyMuPDF-1.12.5-cp36-cp36m-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.6m

PyMuPDF-1.12.5-cp36-cp36m-macosx_10_6_intel.whl (3.0 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

PyMuPDF-1.12.5-cp35-cp35m-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.5m Windows x86-64

PyMuPDF-1.12.5-cp35-cp35m-win32.whl (2.6 MB view details)

Uploaded CPython 3.5m Windows x86

PyMuPDF-1.12.5-cp35-cp35m-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.5m

PyMuPDF-1.12.5-cp35-cp35m-macosx_10_6_intel.whl (3.0 MB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

PyMuPDF-1.12.5-cp34-cp34m-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.4m Windows x86-64

PyMuPDF-1.12.5-cp34-cp34m-win32.whl (2.6 MB view details)

Uploaded CPython 3.4m Windows x86

PyMuPDF-1.12.5-cp34-cp34m-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.4m

PyMuPDF-1.12.5-cp34-cp34m-macosx_10_6_intel.whl (3.0 MB view details)

Uploaded CPython 3.4m macOS 10.6+ intel

PyMuPDF-1.12.5-cp27-cp27mu-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 2.7mu

PyMuPDF-1.12.5-cp27-cp27m-win_amd64.whl (2.9 MB view details)

Uploaded CPython 2.7m Windows x86-64

PyMuPDF-1.12.5-cp27-cp27m-win32.whl (2.6 MB view details)

Uploaded CPython 2.7m Windows x86

PyMuPDF-1.12.5-cp27-cp27m-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 2.7m

PyMuPDF-1.12.5-cp27-cp27m-macosx_10_6_intel.whl (3.0 MB view details)

Uploaded CPython 2.7m macOS 10.6+ intel

File details

Details for the file PyMuPDF-1.12.5.tar.gz.

File metadata

  • Download URL: PyMuPDF-1.12.5.tar.gz
  • Upload date:
  • Size: 129.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyMuPDF-1.12.5.tar.gz
Algorithm Hash digest
SHA256 8eece1ce5922b310264dd235c4b457dfd2c3e4c5893130165d5f5168561050f2
MD5 107bd1d9e54744fca45ec8ac60da93e0
BLAKE2b-256 04d4aa5b79592c59fcf9f1837fa92d7d3b171f98abc8cf144b359e4b3a22eae1

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 ccc4bb0b399133a5fa451a882447cf28ce8ffc6fdd79b0ddb43a722ca8e5bec5
MD5 db6dfd03301beec386aedcee080c93a8
BLAKE2b-256 085b1429831d2b98dd4640e6e9aacf73239492ade19887f82376e9917af52879

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 782567483c4a520611cf274d2cff87ace4d179b44b01225d997e0a5ea8b866ec
MD5 352a56731d57874f7374d61d36ed3c54
BLAKE2b-256 15dacecd97737e9c34f680e26b3f5020c6c24c487f23b4b47bc3046c8337f27d

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 550b59d07182d700bd13d8de092a24e5dbbc73e9dbd4a331f50a63e2682dde5f
MD5 32804b2826117177e052514436f07706
BLAKE2b-256 c14af6424f019bbc3ac70b55fd589f6b3eb777e13d1a3600dbdb726575d5f5df

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 27f86d769522c1bb4606fdf416c1347294f8b07fe1c07c7f7f84a8c6fea7bd2d
MD5 e19ec58f6aa7232be5faeab4f4bdcb71
BLAKE2b-256 3a57956293d082a2388c4e5f102d31e1ebaab738ca9e730a4d04d496e89185cb

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 dbaeb1a47c3f59106e14d1425c8db1d37b3e679722c2da02095da28cec3fffdf
MD5 e1e9754e006224a64ddeb821f0bb1124
BLAKE2b-256 ec682455c491fb9a9879c0081c6a562f959123b69e5ad8a4f14b32be53dea7d5

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 20fb414776d502823fa73647b69b539f82802cf2e345f0cef213e9fce3f5ea8f
MD5 8482a88e16374b0a7a8e1ce319d4dae7
BLAKE2b-256 93776e4dd593304e65ba640b491d1ad24320d874ddfe6d69e5e70b2eb16c68f7

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2d81aec84a999315f786a01910018538d735cef16e9bafdb6251c9dbd3c9e676
MD5 13a7dd7eac762327d8085b8192417a56
BLAKE2b-256 425f24dca32f4b2588a5b93ab006b25795c569940fb5d036e440fa8a43f4c6c9

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 ba80f96f728bfe2be669ba801db200be61487ddd5886c240d369b914da4a6fca
MD5 612f26b664dd8ded33f4de3dbfbd2d3f
BLAKE2b-256 0aa2f5903297ea3a3f1417c947b8fd5361ad8681881ea9ea9bcd55647b2be4ff

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 ad68eeb70aab8da555ad091f5ee3ea7eb70581e83e0626db7637412998af0114
MD5 74531e434ae0e9732b53af26803188b2
BLAKE2b-256 6e529d4d0a3aeebe8a74216d493086dd9dbc4b130e4f262f9abb5453b2b024bb

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 d21e645cb116b406605f7bd958adb620254cabdf5978a7415ac916db5dc5d792
MD5 d1e653790d5b3b9cf622c5c0e13d98a2
BLAKE2b-256 0aa4e42c13e8c6b99bea75b5c2c3e6f40df743b8c1f1113c890994ee125a1f05

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 39cf644f08e2b6f63b5bdc563272201619e2a50781294eb28f2c7f220d07bc3e
MD5 48c2c1ee832abb783310428657c7870b
BLAKE2b-256 80689ac194725ca76ca5b2f866da836ee74470a950f2e35409b0936d2afd9597

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 0950beff2b713e4920c90e60468f0adb1bf357a84399b1fa6b8694086e7f0826
MD5 9005e2fe758156ff33906a268c3ca62b
BLAKE2b-256 bc8acaeb0e78fa6874f80039fb2256977e14a27c16820a35f0ba8d344fba4a77

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 529eb13e3747fee00043cbe207ac075e65730a4e3164e2fec7fd77ca09d96b7f
MD5 0a87c895deee244a3ae59eba59353f15
BLAKE2b-256 3e544cef6eb7aac10961add37665df84665aeea0969d8a0886e3a2bdbf442df6

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 6fb33c5c5caf5ec4936e87ccb2872ba2706bbf072664dc70deea4288a38dc16a
MD5 86e4de59b63174c48539b7804e8122ea
BLAKE2b-256 279c9837298ffefff3e1e448328a6405df8390c0f675b05db58e0e1f820b06e3

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 d4ee105ca1c8887e8235a2bb2b232229e2f36d498ececfa598f38f8aa2760f08
MD5 a802332ca88636f87cb5f101459ceef6
BLAKE2b-256 692a1c44e84a7b67e788281639445eb8db5fc96a2368c775dd8fc5449807e200

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3dcf1567e1b67e4146995aace71c846b8ddbe5fc7de5b1de38386e3db0535777
MD5 0b982c26b266c09489d74de3dfd7ae2f
BLAKE2b-256 9e4d2a41e0f29b63a5c34573412805232ddf74186b4d67c1f4836a716182a912

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.12.5-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for PyMuPDF-1.12.5-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7b197ce9baa02d248676e8066de44bc2e752a26e13ac5205210efe9619a368b9
MD5 3dc25f653b1a6a3001d4cc9573124832
BLAKE2b-256 172863ee36a02618781fd63696e1a7957e77b61580db761951f226dbf48c1841

See more details on using hashes here.

Supported by

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