Skip to main content

Python bindings for the PDF rendering library MuPDF

Project description

Release date: January 7, 2021

Authors

  • Jorj X. McKie

  • Ruikai Liu

Introduction

This is version 1.18.6 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 3.6+. These include, but are not limited to, Windows, 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.

PDF password protection is fully supported: owner and user 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 optional content, 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.18.6.tar.gz (258.2 kB view details)

Uploaded Source

Built Distributions

PyMuPDF-1.18.6-cp39-cp39-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.9 Windows x86-64

PyMuPDF-1.18.6-cp39-cp39-win32.whl (4.9 MB view details)

Uploaded CPython 3.9 Windows x86

PyMuPDF-1.18.6-cp39-cp39-manylinux2010_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.6-cp39-cp39-macosx_10_9_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

PyMuPDF-1.18.6-cp38-cp38-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.8 Windows x86-64

PyMuPDF-1.18.6-cp38-cp38-win32.whl (4.9 MB view details)

Uploaded CPython 3.8 Windows x86

PyMuPDF-1.18.6-cp38-cp38-manylinux2010_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.6-cp38-cp38-macosx_10_9_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

PyMuPDF-1.18.6-cp37-cp37m-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.7m Windows x86-64

PyMuPDF-1.18.6-cp37-cp37m-win32.whl (4.9 MB view details)

Uploaded CPython 3.7m Windows x86

PyMuPDF-1.18.6-cp37-cp37m-manylinux2010_x86_64.whl (6.3 MB view details)

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

PyMuPDF-1.18.6-cp37-cp37m-macosx_10_9_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

PyMuPDF-1.18.6-cp36-cp36m-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

PyMuPDF-1.18.6-cp36-cp36m-win32.whl (4.9 MB view details)

Uploaded CPython 3.6m Windows x86

PyMuPDF-1.18.6-cp36-cp36m-manylinux2010_x86_64.whl (6.3 MB view details)

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

PyMuPDF-1.18.6-cp36-cp36m-macosx_10_9_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.6.tar.gz
  • Upload date:
  • Size: 258.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6.tar.gz
Algorithm Hash digest
SHA256 e3776a1905eccd0cd26cd673d19787e5f5f5186b2cb884e25a9ee35d695cc273
MD5 fd88e2f56373f34e33a60b7a2b08b9f0
BLAKE2b-256 92356fb6e72ba14e066c4cc5a70dd2afff2b859d3502ddba1d1045a9ef22c23b

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 cd4658edcb7c6bd089a8b8a973c84aaf1822708b238ff1c7d2b7e7fad2482003
MD5 ae16b6f463af90970ee25bb0d025dbca
BLAKE2b-256 257f35223d499de26bb92847fccd9325c49d55405df78050c074f9dc278adb01

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp39-cp39-win32.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp39-cp39-win32.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 2656bbf7fa530f9e32c6f650d0c71dd3e553da3836b95c66df5f305e0ebdfb7d
MD5 5a6dd61d0eb83bae6a021f48203f2eed
BLAKE2b-256 9c4a3726034baf22245846c2867db2b3a61c71388532dce8e755958cdbefa403

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 56d950708a9ab081a8ced1615127bc73378234e28b75a8715a56dd1652c0519e
MD5 4b3811fe6e46c8c0235a06aa6c6e810c
BLAKE2b-256 e92e04b27801718f6cd1a14b339941d60be4fd50960684166b3a7fa868e3bbc4

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 739b213c28c923f6ffc11efef80b7a7842a8ed92b64c13e46a97d439a1fbca75
MD5 7e0a4535c116efa6772f0698c627e948
BLAKE2b-256 1f4e8468fb3b0853a391a41ce4f1aeab0140f8dfaa5f3da27bfdd968854c037d

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 516660eceaf484d1577caccc14e714470070a4196b99ad929f6e9640d8219801
MD5 50afae1f50ab0c40e459512a6f066d58
BLAKE2b-256 b93ce5070ee015b3890c51fef2aa48a75cd83c707a255cafc7315a947471a179

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp38-cp38-win32.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp38-cp38-win32.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 f59524b7aa85c3ee4fab1dc4ed0e6164ffc125175fd55c6579c13dd420403578
MD5 0e53e4909ca8fb0ef5d3cb9f2db1f3a4
BLAKE2b-256 aa75203bc9aebe8106a675cb4063e346a2ec969c1606688a1c33ba8e1307b04a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.6-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b6f552704ce62188ef8c3de102f9ca85f35f94b12f119d64701ca646f67da39c
MD5 2052eedab3b97849fd83a5fa57206a18
BLAKE2b-256 54e5ec20e9e74e5ceade97c474fc0973b6357336fdc1762f6412294d9714a426

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.6-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4079fbc1d99c9227aa677dc721fc7ad3cdf29e9104aaa8c566c80f339e80fefe
MD5 8b87a1ffee844325fe20b64da839daa9
BLAKE2b-256 54ac213526d6d0f8a3f9bdf2345b21cb449c8fae18f1d06ebb18d2a59699d039

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6cb627d95b7db291d88222b44da9c4537bf1f60c332f8146b48538f9cb101fde
MD5 9eede392244ac723b60cb5177951a973
BLAKE2b-256 cd45a8e9010e2cca56d985e676af47ee4ff9de8b4c308e3e9ef5c160fd6c803b

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp37-cp37m-win32.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 c024946d6f4ce06e2ab9f9d0409877136dd43031b2c7d9c2f4ab3b4332b84e12
MD5 8121f97f5e1c42cd84e74a0f04cb78f4
BLAKE2b-256 83e00019b8df6de6a4360c16f575d5ba149e0fbf2e1f8a4c4f615795c28eb0a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.6-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 70d8b97489d558d91013ac6853247aadcf677fc859fa7610c5e13a50d2b9dbfb
MD5 ba8155210e8584985802b266b2867b70
BLAKE2b-256 678ae3e4b6d19750633ab7c32dfbedf4672bbe9a45228d8333514e45005d4b01

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 703d7f7748ed5d55448d4ab87de6cc5f22b2c298bd9ceff696a90b547553b848
MD5 491dff325b03a6caeace1b844aa36102
BLAKE2b-256 80ec22455dbf30f3bfef3a75c2192fb0506f05c1af8b0bf2553dd6368965c30c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.6-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 94e6a4ccbdb18e7d39cce3172f71d3dc2c1b161a5ec4eefe07610046f4dcf7ae
MD5 4aafb34dcb5479a8066fb90771daa8ac
BLAKE2b-256 b87737fefa954de5cbedc3e5d56a805a97967f4e978ad3f45cc0a6d13729c0fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.6-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 1cc607a0feedd28f94e0181df65e7ddfda370f3538ab2d9a02ac10b2b5bf2fc1
MD5 2856cdeaca000e649b1be3ff48f061a6
BLAKE2b-256 4f71765b9d6264a7c898f454ba1a8e1c50b8f476795801cc86e0c1a1ea6a01e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.6-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 78be0230279719f35640782377b4b8b3f27b133d82b98c2cd87bba9cca8e608e
MD5 7c36dd71a6ecaa3ab770e04f9a826794
BLAKE2b-256 8d2eaef5a16463070ee13b94c4d8f5651501ae021716fddc6dd7cb928e56d575

See more details on using hashes here.

File details

Details for the file PyMuPDF-1.18.6-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: PyMuPDF-1.18.6-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.1

File hashes

Hashes for PyMuPDF-1.18.6-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 91930aa0ad7a2c960be2a98d1dcb3c660a7aa0fc50d6a6c3287d6fde9e7e82e1
MD5 51211c0a7d6490eede84d8438f68cee6
BLAKE2b-256 d153ac3cfd264b592ee9c064af34bbb779dcd0cd169a5da632cf5ee63018e58b

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