Skip to main content

Python bindings for the PDF rendering library MuPDF

Project description

Release date: November 20, 2019

Authors

  • Jorj X. McKie

  • Ruikai Liu

Introduction

This is version 1.16.8 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.8.tar.gz (170.1 kB view details)

Uploaded Source

Built Distributions

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

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

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.8macOS 10.9+ x86-64

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

Uploaded CPython 3.7Windows x86-64

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

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.7mmacOS 10.6+ Intel (x86-64, i386)

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

Uploaded CPython 3.6Windows x86-64

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

Uploaded CPython 3.6mmacOS 10.6+ Intel (x86-64, i386)

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

Uploaded CPython 3.5Windows x86-64

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

Uploaded CPython 3.5mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.5mmacOS 10.6+ Intel (x86-64, i386)

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

Uploaded CPython 2.7Windows x86-64

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

Uploaded CPython 2.7mumanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7mmacOS 10.6+ Intel (x86-64, i386)

File details

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

File metadata

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

File hashes

Hashes for PyMuPDF-1.16.8.tar.gz
Algorithm Hash digest
SHA256 3099b48a796885c0760d8ac5439131dee1bc6adadf7ae008417e0ca8d8fcdf15
MD5 57e2ecd9c53046ba9207ed557f130ae7
BLAKE2b-256 4c8ea84e6b205d0db6d3bd9bd4b406fb7d38548e36ed882ae3099d03b82c0ea1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8.1-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7e04d819716e6ac2e429caf66a47e268b8564ae8c816d29806c0771125dc7caf
MD5 a785dec40329420e4df3d77f76cb1184
BLAKE2b-256 e038faee133a88c86ade097a1b2719335efc77ecdef7cd68b941d030a733b3e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 7adc323f84015a7332c4b566a79b33046a5f154891823d7d954226c09acf73e9
MD5 e963bb7d22d57f39cdf08469d49f2c09
BLAKE2b-256 08ae72f20879e990f80db584e89f9cfcde0b9dc95419d9b879a6922f88adb4a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 89542dec97731c5ccfb3307af3ac1f7aa75ac1946e10a5a0948c2a72ed849ef8
MD5 361c7479ae712dea6c952dd2acbcced3
BLAKE2b-256 0478fdca2db812f733bd6d80ebd0f55985b6f488c19ccc35887471f317a0c42e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f951e00446193e627d1e99bb87cc3e2125cd9de887f6643fef2893a821176e3a
MD5 32430d806aeb01c13bde1cc337ad8b69
BLAKE2b-256 e96e1fd3450889dfbcae9a5ee94932fb883356855187a18f4ad6cbb12c8fa64f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 149ae0bbe1aa95b85a4123dc06b1dfc024d7998fb5a6f65001bea8ee188b7b3d
MD5 36900f0c46cef9c82b065af3dc193f59
BLAKE2b-256 008d1238d2084372dc37783fadb432e17948b87228e2567ca2e13529e7cf9f88

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e1ee174a422c6a7318fa5c67af7335eeeffefbdb52326fc6a006c8f652cdd106
MD5 5054165662351844f14a3ad93e8324b1
BLAKE2b-256 f6dfe7cc0029475a5866cf835a3962b101fb84a5cc7def99fe0e80c4f6988e9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 3.7m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 b4c1e13d99569f49700f3e30d9ed72adf98adf8e0186d1b9cfaba9c8ad78b778
MD5 8f233b04ddc83ea71f3e78f9a6edeea2
BLAKE2b-256 06b21b2588b325faf2d75ffa47ec63aeec2db58a7fd7e87210949f08b3c268d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 77e70e302fb8f641729ac828cd2d22dc5bae04b9b2267200e8351ee203c41eaf
MD5 3e56fa68838d6639dec72bf73bcf6e24
BLAKE2b-256 5b0e025cb8dbc79ea4e5392821fd6fd4c2bbcb0ce1aa4c69b5b5f0cb643937b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: CPython 3.6m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c2e2bb72d3a3dbec4fab5a66dba8f381f894d4532dfed840634a70d881de17d8
MD5 249188a1635026071e2dd8554f0a773f
BLAKE2b-256 8f2234edc9719354e4504e1bf728bc8c3d981624a31a2439837d76374be9f188

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 58553f5eaf61d553fad0314ef83c6f46d2ce166c51193094a44cbd2a9d363ade
MD5 6ada5198b93128b945b7d34639abd04d
BLAKE2b-256 1841d5bfb76abd6909d90f2603a2de29dc9e7d567ff816980d91d5ced11499d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f15b7d3a5d28fc0709e96af25393f8d56245a64e0d23eaa88bd197f11cd2b9a0
MD5 3f72cf078882a72b0e6e8d6c929bc877
BLAKE2b-256 749e9cce3c05818a9dcc27a94353b642e1f71ed73b630127a628e2835b266213

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: CPython 3.5m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 01a2e1abc1cc0725cf39d7ba2ee44c4ac798bea9a8b4fab40ba09d45e1cac973
MD5 52c19465915f0e472acf4ada493d560a
BLAKE2b-256 15e383f832444acea7841b6b6c9543fd8c82dff48c53bce581deccaf4acc1f8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 bf7849c74d1b3c4c57bc2b874c09db2d9be3ecc2b4b5f4b4055d205c26902d23
MD5 7d08891ba526fb253986cb7bb3ee66a2
BLAKE2b-256 c7c849d28be7d1686e18ecc5f373db11703d40ab3e3a62102bfdfef717235c2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 73b1dd190306838e2ef9e1a5f5cc0a83c135ef5a48cc9793f321d25d2ee4361d
MD5 1cfbc8bf33add7574c413fac3d8f53ea
BLAKE2b-256 4d57c7164b1a8ab3c9630303f2f6df66441741de449d94f29f3a0448414466e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-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/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 54975cd11dedde3be7a5700309f187b759461ee29d2ffc2ce1a8877576936c8c
MD5 60de1758115a3b1e8c33d8aa1becb5f0
BLAKE2b-256 28dd7df0a3d30bf074e93850b51d5cc2f44cd0916754d1dc06ff632469cf7961

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.16.8-cp27-cp27m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 2.7m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

File hashes

Hashes for PyMuPDF-1.16.8-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 9569937fca77bc258a6ab140605fb127d1b13bf2442be08cc749ea516134f3a1
MD5 341941d5bd149667078f2019792bb510
BLAKE2b-256 8d74d970d6d23163af83db2020ae69fd7d7a26e291e62df74492fe39f1797d20

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