Skip to main content

Python bindings for the PDF rendering library MuPDF

Project description

Release date: December 21, 2019

Authors

  • Jorj X. McKie

  • Ruikai Liu

Introduction

This is version 1.16.10 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 both, its top performance and high rendering quality.

With PyMuPDF you therefore can access files with extensions *.pdf, *.xps, *.oxps, *.epub, *.cbz or *.fb2 from your Python scripts. A number of popular image formats is supported as well, including multi-page TIFF images.

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 OSX 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 as well as popular Max OSX and Linux versions, we are providing Python wheels - see the download section of this site and the current release directory of our home page. 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, these objects can also be created, modified or deleted. Plus you can rotate, re-arrange, duplicate, create, or delete pages and join or split documents.

Starting with version 1.16.0, PDF password protection is fully supported: passwords, encryption methods and permission levels can be set, changed or removed.

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, annotations and drawings).

Other features include embedding vector images (SVG, PDF) such as logos or watermarks, joining or splitting single PDF pages (including things like posterizing and 2-up / 4-up processing).

You can also create PDF Form fields with support for text, checkbox, listbox and combobox widgets.

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

Written using Sphinx, documentation is available here:

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.16.10.tar.gz (175.6 kB view details)

Uploaded Source

Built Distributions

PyMuPDF-1.16.10-cp38-none-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.8 Windows x86-64

PyMuPDF-1.16.10-cp38-cp38-manylinux2010_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

PyMuPDF-1.16.10-cp38-cp38-macosx_10_9_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

PyMuPDF-1.16.10-cp37-none-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7 Windows x86-64

PyMuPDF-1.16.10-cp37-cp37m-manylinux2010_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

PyMuPDF-1.16.10-cp37-cp37m-macosx_10_6_intel.whl (5.0 MB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

PyMuPDF-1.16.10-cp36-none-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.6 Windows x86-64

PyMuPDF-1.16.10-cp36-cp36m-manylinux2010_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

PyMuPDF-1.16.10-cp36-cp36m-macosx_10_6_intel.whl (4.9 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

PyMuPDF-1.16.10-cp35-none-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.5 Windows x86-64

PyMuPDF-1.16.10-cp35-cp35m-manylinux2010_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

PyMuPDF-1.16.10-cp35-cp35m-macosx_10_6_intel.whl (4.9 MB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

PyMuPDF-1.16.10-cp27-none-win_amd64.whl (4.6 MB view details)

Uploaded CPython 2.7 Windows x86-64

PyMuPDF-1.16.10-cp27-cp27mu-manylinux2010_x86_64.whl (5.3 MB view details)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

PyMuPDF-1.16.10-cp27-cp27m-manylinux2010_x86_64.whl (5.3 MB view details)

Uploaded CPython 2.7m manylinux: glibc 2.12+ x86-64

PyMuPDF-1.16.10-cp27-cp27m-macosx_10_6_intel.whl (5.0 MB view details)

Uploaded CPython 2.7m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.10.tar.gz
  • Upload date:
  • Size: 175.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10.tar.gz
Algorithm Hash digest
SHA256 d7893954f97fa6087629f3875f3be066dab51302e7c73f4c98c0516a8e2893fb
MD5 98b8fe102b89daa1ef2a3138d683ab96
BLAKE2b-256 3d6a5b4d4f1964a0802f8f2514fcd1f8d53c7f1e74a55765f99df1cf482bbbe8

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp38-none-win_amd64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 8392ea81c6bb739213f7c500c36de5e5bada66bb6d23ae165d85c447f4fd032a
MD5 76e95d568004e8c01bf27998e9cc63a5
BLAKE2b-256 d843ededf409d2aadbc550806645f1e8eaeb36dcf18fd0d3c9d0d162445f54a2

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 027f7b3bb7d939ffea8cde925b1dd7723cd6c81dd053cef2a919d3f6b0d059e5
MD5 ceb4278a7ac9cda7234206f521721274
BLAKE2b-256 18069c252343edad1d4f7b661ee2c32839ae0f2172f4d31212d7784e7d3ba2a5

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3bcc7baf961b2f1ce2ce197f87317c5b31029e4c09b098324187064de936759a
MD5 e92ab561d3b0b817fc4835eacb434d9a
BLAKE2b-256 93a87e75fe6626bf04a613fe86d95dc8a73d1118653b7bcfcf8627f4c8e884ac

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp37-none-win_amd64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: CPython 3.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 dff24bc795131f35abc11d846e4c5657e13ab3b844ee6a08035624ad6a388e22
MD5 3755f6c43bbe86a394ffded365009fc9
BLAKE2b-256 eda0a9d00bc3b67b173d0867c9560a7e42d2a3bf811d846f2bb4bb38e83700ae

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9da654a43f2e599a1c1f96bd609ba6a431541c7f0d2d4805d26e660fc6e0ebc5
MD5 226972d16f1c713545991137d71ccdf9
BLAKE2b-256 df7992ae8f9a618a801e4a00e97a78d56fccc0bfecd2fe21906b112168630a12

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 8cb244c8f3468b2c9fc0a7fb16fc8de08588e5a938f8c335eab279d1088cfc10
MD5 43851b882c2c41926da0f1582a292ef8
BLAKE2b-256 1a5e6c0cf319b32cda165b3233fafa4cb75704761529f19491f832a629174ac9

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp36-none-win_amd64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp36-none-win_amd64.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: CPython 3.6, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 07505ed003a46d56dd9b9a0ec0f37173d7022c84ff96a7b709773a8d99eb3aaa
MD5 c66c971413410f23249293287f7ddef6
BLAKE2b-256 1265eb327ff3c49550d39ade16e5bf9bc16f365f9b5eb6a9f92d3d8963a17cb2

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5af9243641f0f8f06ae3894ce6cb5b4e453ed2c98d064e3da314c0aff2e56b7c
MD5 9c066aa0375d868494788d21d78136ec
BLAKE2b-256 6ac12e8a737d669ff9b61d2dca45157e42899ab4c07247a8301aecd3b8211121

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.10-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 77d715744ad322324ab4ebd4e17236e3952a565e91042b2f35eae4dacdc4a051
MD5 2b431344b197735974d5aef990e17172
BLAKE2b-256 3d2d0f02a01a4fb4dccd2483b87b2166e6e8b45b76577ccfd852e6f0234632e7

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp35-none-win_amd64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp35-none-win_amd64.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: CPython 3.5, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 815273a66fc73ab05fd22add8e47cb7a0e0b35eaf4952baccf1adfe31659e933
MD5 76787a9f96e47730ee12793bdd2e328d
BLAKE2b-256 26b800b77a8581f2c3fb596b102109abb86ff5f5aff76288c950ed3e2f229e99

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b4735521ed2fe7dbba060cd823ef9ac46729798ca999133b04ab6dfe6be539a7
MD5 10d45f208bb015aca7ed3a39dc5d5acf
BLAKE2b-256 68766aa4ef5a50013397a37053f4a74a22b2bcddd180880729cf98acd2e91310

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.10-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: CPython 3.5m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 37f1b11b071bcac4358b002346ea2e06106683dfd6771557310f522870598f5d
MD5 e4a904d23c2d49d35f493ce2899df307
BLAKE2b-256 b01e30c67b74e89c596575de88692c339a340a974e91106f9912ebeed4787f7b

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp27-none-win_amd64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp27-none-win_amd64.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: CPython 2.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 946af48d7bd210ce9250d58f8d6ca8ff8d1bd91b7c5e8e44e4db9889b0f591d6
MD5 28cf0cc8beca0d6862c49c6a84c8bc56
BLAKE2b-256 b47621583c8bb964f20453044c66fd0f4e8eb3ef1d1c495565dcde6e86c76c8b

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 af14719143d6a8240cb905dc74f05f8d77b56cad5740bd84e13ff077b8a88914
MD5 ae3afc582a9b05693e6a0163ae1517c7
BLAKE2b-256 8d3791d247373ff9827c8c1f7d3786898150b3a02d7443d3395bc143892cddfb

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.16.10-cp27-cp27m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.16.10-cp27-cp27m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 2.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d3bcbd2d18e7432ac3799f473c267b334214d90941ea295fd6966cff07cd327c
MD5 48b58a893eb9883a9332e35f71d96166
BLAKE2b-256 14cc9b31ab5996a22b873028e1d65e09195e8cb44d86f74e36fdb9fc152d45e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.10-cp27-cp27m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 2.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.5

File hashes

Hashes for PyMuPDF-1.16.10-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c5cc38645faaf15b066d2e14f43bd93ced0e3ad7a3bad64f13a20bc128d60d90
MD5 d091aee6945f500042b946415c1b0fe4
BLAKE2b-256 343281b317957c72e50f359c22146beb1112cf9075f8f293e8acd678b57a2693

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