Skip to main content

Python bindings for the PDF rendering library MuPDF

Project description

Release date: December 5, 2019

Authors

  • Jorj X. McKie

  • Ruikai Liu

Introduction

This is version 1.16.9 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.9.tar.gz (174.2 kB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

PyMuPDF-1.16.9-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.9-cp37-none-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7 Windows x86-64

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

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

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

Uploaded CPython 3.7m macOS 10.6+ intel

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

Uploaded CPython 3.6 Windows x86-64

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

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

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

Uploaded CPython 3.6m macOS 10.6+ intel

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

Uploaded CPython 3.5 Windows x86-64

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

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

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

Uploaded CPython 3.5m macOS 10.6+ intel

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

Uploaded CPython 2.7 Windows x86-64

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

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

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

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

PyMuPDF-1.16.9-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.9.tar.gz.

File metadata

  • Download URL: PyMuPDF-1.16.9.tar.gz
  • Upload date:
  • Size: 174.2 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.9.tar.gz
Algorithm Hash digest
SHA256 8c456b37c6e37174dae98843ab8979db8f149a7229bd05c2ce6b09a22d300926
MD5 797170bd7f3dd4bd97bd1a0c11bd853d
BLAKE2b-256 44933191f8b27127db1eacf7c2317770e34e51409740ad0bdf39a8debe7b0dbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 68a5ab3f883e3a4cbdb64280f209bd8f28128054694166feabce79f08ebf245b
MD5 5d833489a9b7c37818080eefd46b53f5
BLAKE2b-256 b2cd9c0fca9487234d710eebcb42b8c533aceb026cda38de5ae10659e0d58fd1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3f5daa288596f5c3fab6d0601e576f44c7dd66ef635c9abcce60d75c528600f7
MD5 24e8458ca09d5644e6d9ef9b6eb696f9
BLAKE2b-256 09df87100bce3b50677d8a92f5656090e9d4ee78f71e793532caf55afa1ce133

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b9a516bfe19736eaeb7691f56b3517af0ceed5701a7edef295b1d167c08d5b67
MD5 240b9591d7c6a42e8f79d2e173a72761
BLAKE2b-256 3e5c0bb116bceb9da7789201b05160fcc1f42e7ef2e1c1e12e487ad19ff1ac06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 1a0499034507f061ef401a031b77a62cbe72eaf4502d2b9a228add1be90c3334
MD5 2f5662cc5d7198c90c534f3e0d53b582
BLAKE2b-256 c14ea37b78b74cc70aebeefdfdd873f4bd65161f7e8bc81a0ae44ef73651422e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5ede49dd01b5d9be6cc1412afdf9bc5b56928fe67fd25b21c0c168c82b588bc3
MD5 7380b559325fa2d1fa889e1172e551bb
BLAKE2b-256 c5ee5249662162cce2338631b1ff2ce6b4d9667ce959b3251d2d0a2708943d2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 ff275e4697e0921b024337be39c12df356f704d8d3d61ae876e0d4269e4078f8
MD5 1595073d23e131999f9c20c17f490688
BLAKE2b-256 14eeb7cf7941b1e5325d2780f09acd0edbebdb83be467cacef026b45d098315c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 45e4f8a3c9a660219d3206ecf877c7c1a3ddbf0a656f7718bf7e681069ab68ae
MD5 b30b9eae90a53fd63db347d279a97f09
BLAKE2b-256 2026e907c071d9c338fcd27ed150f539eec20753089227dc60c47e925fb8eaca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8ee2ae949ac103567248da24444741ccbad0359d0f1f28e8a915dc6e44ad2434
MD5 d1195507f8418983092790180c63a198
BLAKE2b-256 880d9331b4f4885d2462eeece440e9997c77b5bc21cbf4ef78bd32f16c711139

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 51967181db661a1e7d2b58f12d40f3f44f9411e1fa5e00f011328e51fae77f42
MD5 a6d2f7c351c6366094990267eb6c42f5
BLAKE2b-256 5503cfb1cd3c4a153c8c12707a104728c563aed85291923f83e8cec1e6f9d41b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 6c6f04b9ee99a846a122dc821165bd8b362f282528dcd4c54f98082fa7d196c3
MD5 419022667203236e08c02fcfe9090420
BLAKE2b-256 82ed1b5522fd92c44d22fc54e1d15f8508bd3484c8c24b1101fe29b722e7e4d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4e95ee4fb699d96d5e99cf6723f82f7d945d1247ef540dae966751d9043e3cbc
MD5 e03a855a2738c49f7654a0ae2cedf7c2
BLAKE2b-256 ab5bd3de2dde8dc4454a6f99b6d6870c861cc712041a3a03aad195e687350235

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f6275e5cbd2aca760fc2445ccd241df64eb817d61b5a2c90cd0f0f80a94b56c9
MD5 0ebd87e64f17b92ff6a974d8750dd693
BLAKE2b-256 9348b9a82420732ad758a1365af5b24653e7f4b998c940dddbc909fedbff0c54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 b1523c603f99ef461f20fc2a1846a1d08dbd18c380898feb299368abdc6efb5c
MD5 357e1322abd36f3b49fb9faa000eaa34
BLAKE2b-256 68fbe4201ac8320eff69f8018b8e2c6d2145b98f3be4b6c031cdf10bbd338b03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0b8085a67dd304adf77d46d011d7c04175842515dbbbcde8bf8eac1095352c5d
MD5 aba82daf3bddbbdc41734fd0e15e62aa
BLAKE2b-256 196be2153dabacfc0ff4cbb4df4c01b1687359268f663db2f1f2546d8a5e4b25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1c7d801ecdff5db3e79514219c29562fab5a5fe7ad8f3a0a8f1551ea5f752901
MD5 4afc3c2927a8ac8d55c3774c4b9f61b9
BLAKE2b-256 a773b7a30535e60d5dc73b9cd960c226d735d7418bb0d6792b337f6b1e665215

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.9-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.9-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 28e5c878ee6fe0619f102acad82488e63ca8a13b05a5662dfb1976ff0bf4619c
MD5 7ef435b439e2b98910ce9866d02a4cc9
BLAKE2b-256 527adfc47d8088ecb185dafd5720ea52ff561d59422e85a6f7da8a48a88bc474

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