Skip to main content

Release date: February 28, 2021

Authors

  • Jorj X. McKie

  • Ruikai Liu

Introduction

PyMuPDF (current version 1.18.9) is a Python binding with support for MuPDF (current version 1.18.*), a lightweight PDF, XPS, and E-book viewer, renderer and toolkit, which is maintained and developed by Artifex Software, Inc.

MuPDF can access files in PDF, XPS, OpenXPS, CBZ, EPUB and FB2 (e-books) formats, and it is known for its top performance and high rendering quality.

With PyMuPDF you can access files with extensions like “.pdf”, “.xps”, “.oxps”, “.cbz”, “.fb2” or “.epub”. In addition, about 10 popular image formats can also be opened and handled like documents.

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 MuPDF first and then build PyMuPDF from sources. 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:

Metadata

Release files for pymupdf 1.18.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymupdf 1.18.9
File Size Uploaded
PyMuPDF-1.18.9.tar.gz 308.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pymupdf 1.18.9
File
PyMuPDF-1.18.9-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
PyMuPDF-1.18.9-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details
PyMuPDF-1.18.9-cp39-cp39-manylinux2010_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.12+ x86-64 Details
PyMuPDF-1.18.9-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
PyMuPDF-1.18.9-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
PyMuPDF-1.18.9-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
PyMuPDF-1.18.9-cp38-cp38-manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details
PyMuPDF-1.18.9-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
PyMuPDF-1.18.9-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
PyMuPDF-1.18.9-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
PyMuPDF-1.18.9-cp37-cp37m-manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
PyMuPDF-1.18.9-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
PyMuPDF-1.18.9-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
PyMuPDF-1.18.9-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
PyMuPDF-1.18.9-cp36-cp36m-manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details
PyMuPDF-1.18.9-cp36-cp36m-macosx_10_9_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 Details

Total release size: 89.1 MB

Release files / PyMuPDF-1.18.9.tar.gz

Download URL PyMuPDF-1.18.9.tar.gz
Size 308.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cb6ba6c5038ce590a088b9bf320c6e9ce714c1fa304181ece8b551d8589a8b21
BLAKE2b-256 checksum
How to use checksums
6ac21891e193f30a61eb1442eda59ff5aa0b9297ab5fd2bf932c729a12179a87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp39-cp39-win_amd64.whl

Download URL PyMuPDF-1.18.9-cp39-cp39-win_amd64.whl
Size 5.3 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
9b526f0e7cebb56abb2ad569552bd313c37cabc5ce59614791079816ba6459d4
BLAKE2b-256 checksum
How to use checksums
1121299c94c69277f8dbca7fc414eb3ad988cb5e3c0d985ead547b49481dbad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp39-cp39-win32.whl

Download URL PyMuPDF-1.18.9-cp39-cp39-win32.whl
Size 4.9 MB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
65a1daaf77434f6da95fa63437713fabe8d818f00e4e3af9f4a64fe16804ad32
BLAKE2b-256 checksum
How to use checksums
2aba0c3da335d7dcb424386746aa698d750c22aa739eca758ed004e2c5ac1e2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp39-cp39-manylinux2010_x86_64.whl

Download URL PyMuPDF-1.18.9-cp39-cp39-manylinux2010_x86_64.whl
Size 6.4 MB
Tags CPython 3.9 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
d554e5711dc6a3be67af9b8bcdd4093ad6bcc4081af319a0fb0433815df73f5e
BLAKE2b-256 checksum
How to use checksums
4542640f77473ae49c30d391d792a9baaf489a624e5c623d159d646840ff0e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp39-cp39-macosx_10_9_x86_64.whl

Download URL PyMuPDF-1.18.9-cp39-cp39-macosx_10_9_x86_64.whl
Size 5.6 MB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
5b94b885d9d5b7483871e08bbd189b37e2bc30a4760d4eb809de5f18d4e4beb0
BLAKE2b-256 checksum
How to use checksums
27861d28f3f99e10664113716a5b2d77141b72fc5f3eb5bd0b326539637a8568
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp38-cp38-win_amd64.whl

Download URL PyMuPDF-1.18.9-cp38-cp38-win_amd64.whl
Size 5.3 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
4b5352569339cde5f0379cda550f35c340e57d38f2a2d73e3545c17f7702bbfc
BLAKE2b-256 checksum
How to use checksums
1269a3f1381b64c24a7f0e851ebe42b2a27f5e9db0b3182045356615b24b34d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp38-cp38-win32.whl

Download URL PyMuPDF-1.18.9-cp38-cp38-win32.whl
Size 4.9 MB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
5c07e65208cabdf6aa2a14c4dce571252260f0e121420b8a631ad9df05e4e2d6
BLAKE2b-256 checksum
How to use checksums
0bb301a04182fa5ef74c2b97d47fb4a637cd15252058858938bfab304f459945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp38-cp38-manylinux2010_x86_64.whl

Download URL PyMuPDF-1.18.9-cp38-cp38-manylinux2010_x86_64.whl
Size 6.4 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
fe450ff5b0012b7ef795abafcb156ff3b0108a12c184bd8105c5df7794788d3c
BLAKE2b-256 checksum
How to use checksums
0ef8a5de0e5aaccbda2008a9f3ca02ac3b9824c62648b7e9481fffda9c429321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp38-cp38-macosx_10_9_x86_64.whl

Download URL PyMuPDF-1.18.9-cp38-cp38-macosx_10_9_x86_64.whl
Size 5.6 MB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
37dac2a3ea35da0375b3f19d488070b8f8e4eba4b243e66f3bbf4056e887c411
BLAKE2b-256 checksum
How to use checksums
a99c75ffd2b549b94ce916e83cc25b94c37f0656ff5df012c9dbc875b6a74c34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp37-cp37m-win_amd64.whl

Download URL PyMuPDF-1.18.9-cp37-cp37m-win_amd64.whl
Size 5.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
a28d5bdc89ff4c0ecaec51e83d0cdc084156727e8f0505bcbb9f25c7b455c1f3
BLAKE2b-256 checksum
How to use checksums
d3d07853e9748b3fb90851a1e4017098d11103a278a4e0f4631ddfc7f7164b76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp37-cp37m-win32.whl

Download URL PyMuPDF-1.18.9-cp37-cp37m-win32.whl
Size 4.9 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
642cd1122ead198518cf4f9675274d1fee563857350051802ba5ce76b60abca7
BLAKE2b-256 checksum
How to use checksums
e998129edc82126a6ee02808ed89e4a788091a8341aa15a8f5f1e2b54ba67657
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp37-cp37m-manylinux2010_x86_64.whl

Download URL PyMuPDF-1.18.9-cp37-cp37m-manylinux2010_x86_64.whl
Size 6.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
fa12cd8075a0223cc4a89859e46b1b8127fbde2c6d44a75720fca91d83f9433b
BLAKE2b-256 checksum
How to use checksums
786705eb99c142aaa9229735d0d63cbb9a6e9cee7400108ad4094a83f2fba1ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL PyMuPDF-1.18.9-cp37-cp37m-macosx_10_9_x86_64.whl
Size 5.6 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
9eb91dd17b948e12b87406e8a33503d36ed6d054a856d63c6b731ec73a80aecd
BLAKE2b-256 checksum
How to use checksums
014174be19c6f6021dc8f112d32473d99c67436f6776b3e870dda04574abc2ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp36-cp36m-win_amd64.whl

Download URL PyMuPDF-1.18.9-cp36-cp36m-win_amd64.whl
Size 5.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
dff30cca066033f8a48e5e75f9a833b3d4de481a66cbe2bfe1ed9a824691385a
BLAKE2b-256 checksum
How to use checksums
c54e0fc350dad5cbe7c5aac9b4a35f9ed440a1cf54301ecc8462f3efd6549d7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp36-cp36m-win32.whl

Download URL PyMuPDF-1.18.9-cp36-cp36m-win32.whl
Size 4.9 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
5afe6a5f6905334e06f21c3a1284427289fa333b19ae87fd932ebde01b7d820e
BLAKE2b-256 checksum
How to use checksums
61230e7bf2d776fc87f0e7ddc1923c9f366b793b38296da2f5bf940d622f8fff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp36-cp36m-manylinux2010_x86_64.whl

Download URL PyMuPDF-1.18.9-cp36-cp36m-manylinux2010_x86_64.whl
Size 6.4 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
2267737702a0bdb85e328108429ea79bb1c392e01f3589f5e12e10c02e977b17
BLAKE2b-256 checksum
How to use checksums
6bfd09f243e687ed7c4330d361f89892d878aabc5ecd9567b2232d9ffb09449a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / PyMuPDF-1.18.9-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL PyMuPDF-1.18.9-cp36-cp36m-macosx_10_9_x86_64.whl
Size 5.6 MB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7cdae7822754526a5401b10ba175f8979c62711a6b10610d88c8e698e5be9ffa
BLAKE2b-256 checksum
How to use checksums
6d247ce26fed68795893b0c0184a7ed7501e91f7c5813e6c4a32f53f08072458
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release history Release notifications | RSS feed

1.27.2

9 release files

1.27.1

8 release files

1.26.7

8 release files

1.26.5

8 release files

1.26.4

8 release files

1.26.1

8 release files

1.26.0

8 release files

1.25.5

8 release files

1.25.4

8 release files

1.25.2

8 release files

1.25.1

8 release files

This release

1.18.9 This release

17 release files

1.10.0

1.9.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page