Skip to main content

Python bindings for the PDF rendering library MuPDF

Project description

Release date: November 9, 2020

Authors

  • Jorj X. McKie

  • Ruikai Liu

Introduction

This is version 1.18.3 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 (7 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.

Since version 1.16.0, 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 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.3.tar.gz (245.5 kB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9Windows x86

PyMuPDF-1.18.3-cp39-cp39-manylinux2010_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.9macOS 10.9+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

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

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.8macOS 10.9+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.7mmacOS 10.9+ x86-64

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.3-cp36-cp36m-macosx_10_9_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3.tar.gz
  • Upload date:
  • Size: 245.5 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.0

File hashes

Hashes for PyMuPDF-1.18.3.tar.gz
Algorithm Hash digest
SHA256 d7bf62b6dd934d62e7d85389a23c0e194cf96556d5f36a0200a78a16ba5c695b
MD5 6b9a58fb0d1fd4c851c4e847438dbf69
BLAKE2b-256 5589ab15aee4a66c56ff51ad6973adeff3e23588b4c625b296c836b92175f09b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 24b28ff01430ece53666c5e9e84673409d7e1d1d1318123dd24c0f5271c498b8
MD5 ed8f900ee61d84575ec1d6327418f7a0
BLAKE2b-256 52074c7060c22de09758ada8623cbc0d8e4b0e5f96629b4e29aa240db7703184

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 714cb60822e51615a9edafba19cc0f906c4859c7e72a580d116950757d04e548
MD5 9d4abbc2c81683c7c91f0bbd55aac935
BLAKE2b-256 9cbb231c310758b8b372ce4ee1dfdcd7897bd1057d41d3eb1164eae39e8aaef9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a4718b41f1ccc94ec64d23c665c75475f910c2eb5ab911411d98d03b562c1b35
MD5 b240c3987e611bc7a3528ef8d4e7384e
BLAKE2b-256 c6906651e7959dc04c188490555cc86def7da176e112c94f7284ffa6c6b17c6f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9d0ab4b344cc504dfacc71566259fd08d911468e5362a46650c4adfae248dfe0
MD5 8ff286a5de647911b0603d567cbee7be
BLAKE2b-256 7923bc22e8f304773ce8e7aa41e6cbe41d42c41432c513af1fcb0baccbd60515

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 96d392719f4323e96738073b5965ba3ee3045e8a2dd6516ea0e148bcb2f78986
MD5 c493310061abb666c11e0d7b72c0c09f
BLAKE2b-256 881c099f045faf2f1910342c3acd90a638b9ffd987e2e12c3e462536aae1f98a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 3d603303fa014205c7b3d6faee875c1b4958742d4039499a0eba6f37b8252191
MD5 b17f5e0f53ddf7500136670e0e464fd0
BLAKE2b-256 6aff5cac649fa92e46447772ab38d625c38e3e2726f46a35c6b89cec6768e049

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fe719a34b7a1a56b8b9b3e14cd5343729a181dca65a306e8e99c616e5c7fd561
MD5 9a96edc065819ec2025c2835e7d7652b
BLAKE2b-256 b7f6c4f865400e3f444b237d8499087cc68c5049af4127f8313055daf093910c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6d987b01b974cec186ea4aba84b4011417c77e38304d774b307c092bb6a585b3
MD5 64366d05d0eb81e97cc7c64ba3026208
BLAKE2b-256 c9036f9cfedf1eb1060b7166022cc9776edaa8527541d85af1047f183918e049

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 b50e63f200ab258418a9cc02840a6bf2629d965eaef1bf5abe481d1ad150f03a
MD5 71f1dcea251f4e8d9a1107f1aa26b839
BLAKE2b-256 e2ad227de5982c47650539e7401a1047f63bc1818ec67ca5d5c4c0aeee73e6f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 b127defedcea2e3b47d47f98d743e4d84c060b4252aa1b06d0779f3fbdc9bb44
MD5 d0499005a90fa69e91b1c4bca648f79a
BLAKE2b-256 1ee337e243a6d482644af2b6e82736c32637fb000b65aefc73c7dbef121c0b6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b81e0abba6741ff3aca03571f113461c2074396560d44b05949c38f63a588202
MD5 cc8f4907e1742d0a20adf2c69680d39c
BLAKE2b-256 bc74efa343e87d7b9edb06b91981e46960f2018de0b377f0a45ecafeba6ae242

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 503cb61aa755347e09e9a6eefd7a142b67b1a10583ea66b997dba547a58c13d1
MD5 3f31be9a6ef3b9b52e6a1f9731269af3
BLAKE2b-256 b8d90386688d2d9126bfb358b45fac618763a328b5c3278c10e0567c6aaae1d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 e6553eebadb570ccf2fc2e9fe294d4e76a751df41da552345755d2a443cf53b6
MD5 c9480fef27fa5e9526cd4c82e44d8189
BLAKE2b-256 901b2b71a1f2d3b78bfc2093ae7c763121c7353766e5f2c2749ffea0f534b305

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 2890d5deb9701dc5ab15696ab44752a59a396b9e44812f25a514b058604c7504
MD5 2e7c746d8793f04e1b2955269b8903fc
BLAKE2b-256 5a077223ffae689771f240dee3a8871c64c5a78daeee67f1650d86f957f50bc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8c3fbb7d8838653f30609301d9c05705866f33a2f9477e98bc8f7030d43a0fdd
MD5 cedf9c52c38aa8eed889452c9bc19eeb
BLAKE2b-256 8175442a1bcc89569453969f34a53000e8a80e3da13367e3e29b81b5137ef388

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.3-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.5 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.0

File hashes

Hashes for PyMuPDF-1.18.3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 50d80512be438fdaf26d6e58f62196f971ec8696c6bd9e8316d959a1751f1057
MD5 461a203df391439c51f79a04308a55fb
BLAKE2b-256 7ff69ec6d191e48e71080b29f379c6ee7b9582d33068bd512223b71df84e937a

See more details on using hashes here.

Supported by

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