Skip to main content

Python bindings for the PDF rendering library MuPDF

Project description

Release date: February 3, 2021

Authors

  • Jorj X. McKie

  • Ruikai Liu

Introduction

This is version 1.18.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 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.8.tar.gz (267.0 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.18.8-cp39-cp39-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9Windows x86

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

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.8-cp39-cp39-macosx_10_9_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

PyMuPDF-1.18.8-cp38-cp38-manylinux2010_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.8-cp38-cp38-macosx_10_9_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.8-cp37-cp37m-macosx_10_9_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.8-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.8.tar.gz.

File metadata

  • Download URL: PyMuPDF-1.18.8.tar.gz
  • Upload date:
  • Size: 267.0 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.8.tar.gz
Algorithm Hash digest
SHA256 1947ddcb32fa2eec6d3e562bdd55a1f28642909e40203f0b5d112da003a51af0
MD5 319c7fcffa68fc0cb43bb95a093f9106
BLAKE2b-256 266c34098cd963418e5122abd70f8d116300203aaeab086cc9c6bdaf1b39cbd0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d72e5e86bd2aa9a18e58d12cdf6eda81af0f1f8f2904d3d0defe7c5c5928380e
MD5 cb5c8bce6cab18a832f939c2c5ac974b
BLAKE2b-256 89d4de3b395d9d07b972d24ec7706cf1f4b29bfa3111e408e66e2e2c2a9c2b67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 c70d28046fa115e795f59f94085c89f25183072c65e5d9ee0337cc6000cf38d5
MD5 aa7b5f8e4a0e7836903fde3a5e74905e
BLAKE2b-256 d824490f4d268af4b4ad946c991c37249c11e25dd786fcfb9ee910e31f461dcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c87e1224eee5d4bb8544ae320d878e4f16f1a681a4229db75a37be329c295a96
MD5 fe7013a9368e08ef6663705826b0b88c
BLAKE2b-256 f37874627e60f0cf04a48e732b3da8fb5b960df33dcf2bac2dbbcdad4e1162c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.5 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.8-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 583a1da6661fe0ab6dbac2b22dacc472a31769f9d5cb54d3920e96d5f858ef1b
MD5 b414911402888014dc9636495607e632
BLAKE2b-256 6c52c851dfa38fa0b11fb00a3764c4e91a0e353765bef9bfe4e74a2a2408750a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 380bc336bcc80b229697229742ac00761fe22dab8af57288a16421cc99886178
MD5 079b03e85e99faedcd51ed94b6a2fe40
BLAKE2b-256 fa65ea9a8c13b46e9b1d6747bd255e63de2d6d56b4153021255726a81b07fbb0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 157946f7d9a545fd84de6cd4051df3d1f0c8ebb1b4edd04e6c8552e40723f1ee
MD5 eea3fbac8f6b80b46cc21a095610861c
BLAKE2b-256 eb6215391b16bd4f194393ec9c8cc56767158e08593714af1d9aba4f080a6ed6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.4 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.8-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b34b34dc2e74347848cd6b36c218493a93723aa7873d84163b4b952d8a461f74
MD5 3e04bd68f6fd8de91f6d2329331cded0
BLAKE2b-256 0fe298766b37ba5df17907e6a7118c0853b8c5fe5c0ef038c051b518b952baa8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.5 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.8-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a1d12a8b8c1afac24fed6cb3a069132c8cdba354e665f496e5f7640d2d442d74
MD5 a1cbedf0f3fd87e86a1922b00a3be708
BLAKE2b-256 b3a60b7421e6815d08db716e565dbf38afe9c39edc35074370211e72c14077b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f9b9ad59c711fd7e67961843c029eebccf08b2eeb190d0316b00285b74a4c30a
MD5 55ccf1eed16b650391b8ff10b9ca1aa9
BLAKE2b-256 3f008096e970ca7877249db150b49ff7df498e1a585678a41f9e4b812e925a06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 f912a743ce5d134e8080b8ea1801f410bd74c62faccda64c4ea0ff3b4729bed0
MD5 50568ae70d3abc3c78052ca02a0ad1c9
BLAKE2b-256 a251ce4c4266166592cfe119c22a7712465bce1131cf2cab5f45d1dce6008e65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fe3797a1154d8e4eeb416d539c84bc404930a6b57c2082d030f2d68e13eed9ed
MD5 9c63edbb6be7d25263111ad7bc64418b
BLAKE2b-256 a07668625312a149915316f06acc505f941f8a12c866d86630d0d9bdfabe36e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.5 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.8-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c8925a29f606b3451dd95b576346fe87b54e12898ed9df318744ccfa65da2043
MD5 874dac9d8fbc85844efb59f76a9a2209
BLAKE2b-256 391baefed30071166a779d8e095487dd9d715fb23f10f45cd1f44e1370f80228

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 46b0c7a4fad878bd182763e8947f7b2fbb6785a1820d8847a15dcee8ae62faaf
MD5 0710d1ef322d45eb79443548aab92157
BLAKE2b-256 e9d04ed7a02afd9d11289b50f1628a6930a8bee6f49303019dcb5ecf70453ca3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 7669da9b57c8d64ef58490c029840e5f745f1f4e5a78fd3f2b0219ee7f4da002
MD5 05994dc367f5429e131314c9e886232f
BLAKE2b-256 27974a8594d0b2df26d0a79e066e81665899bdd2191c5897bc1895a0198874b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.8-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5de86397a740a441c3d56e4986e7eac70847cc74836bcb1df055f50deb4abaa2
MD5 be01c3a00e7e4aec18ce75f25b2b4121
BLAKE2b-256 1b753c72f727c729522093264709629f0514993824c5d7cadc749e9ae68c2410

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.8-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.1

File hashes

Hashes for PyMuPDF-1.18.8-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9f57fd38e21e7f695f02b1081ba9a7a2a18f044404ac6987faf630d1823a3c4a
MD5 9890726a51274b97ef10aff1c8401b54
BLAKE2b-256 6877cc1ec6400200d3f3f274554f76eb3b1d437e67283d474f0d440403fea77a

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