Skip to main content

PyMuPDF

PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.

Community

Join us on Discord here: #pymupdf

Installation

PyMuPDF requires Python 3.8 or later, install using pip with:

pip install PyMuPDF

There are no mandatory external dependencies. However, some optional features become available only if additional packages are installed.

You can also try without installing by visiting PyMuPDF.io.

Usage

Basic usage is as follows:

import pymupdf # imports the pymupdf library
doc = pymupdf.open("example.pdf") # open a document
for page in doc: # iterate the document pages
  text = page.get_text() # get plain text encoded as UTF-8

Documentation

Full documentation can be found on pymupdf.readthedocs.io.

Optional Features

  • fontTools for creating font subsets.
  • pymupdf-fonts contains some nice fonts for your text output.
  • Tesseract-OCR for optical character recognition in images and document pages.

About

PyMuPDF adds Python bindings and abstractions to MuPDF, a lightweight PDF, XPS, and eBook viewer, renderer, and toolkit. Both PyMuPDF and MuPDF are maintained and developed by Artifex Software, Inc.

PyMuPDF was originally written by Jorj X. McKie.

License and Copyright

PyMuPDF is available under open-source AGPL and commercial license agreements. If you determine you cannot meet the requirements of the AGPL, please contact Artifex for more information regarding a commercial license.

Release files for pymupdf 1.24.11

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.24.11
File Size Uploaded
PyMuPDF-1.24.11.tar.gz 51.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for pymupdf 1.24.11
File
PyMuPDF-1.24.11-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
PyMuPDF-1.24.11-cp38-abi3-win32.whl CPython 3.8 abi3 Windows x86-32 Details
PyMuPDF-1.24.11-cp38-abi3-musllinux_1_2_x86_64.whl CPython 3.8 abi3 Linux musl 1.2+ x86-64 Details
PyMuPDF-1.24.11-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details
PyMuPDF-1.24.11-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details
PyMuPDF-1.24.11-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details
PyMuPDF-1.24.11-cp38-abi3-macosx_10_9_x86_64.whl CPython 3.8 abi3 macOS 10.9+ x86-64 Details

Total release size: 178.2 MB

Release files / PyMuPDF-1.24.11.tar.gz

Download URL PyMuPDF-1.24.11.tar.gz
Size 51.2 MB
Tags Source
SHA-256 checksum
How to use checksums
6e45e57f14ac902029d4aacf07684958d0e58c769f47d9045b2048d0a3d20155
BLAKE2b-256 checksum
How to use checksums
d4a33edbb6be649e311107b320141cae0353d4cc9c6593eba7691f16c53c9c71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / PyMuPDF-1.24.11-cp38-abi3-win_amd64.whl

Download URL PyMuPDF-1.24.11-cp38-abi3-win_amd64.whl
Size 16.0 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
745ce77532702d6ddeeecb47306d3669629aa5ff82708318cd652881f493b0ba
BLAKE2b-256 checksum
How to use checksums
f60399895f003d7ff59c83d524aeccecff4e1ee1f39a7724f88acfda4f67b8bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / PyMuPDF-1.24.11-cp38-abi3-win32.whl

Download URL PyMuPDF-1.24.11-cp38-abi3-win32.whl
Size 14.7 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
6fda6c7ed7e6ad74d9cfac5c3837ef42efd58c506440e2513a0a200bc3c4dbc0
BLAKE2b-256 checksum
How to use checksums
286ba0247598f06585d84ae9927d6ed191d89d38686ad6bf0dadc0ed699a77e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / PyMuPDF-1.24.11-cp38-abi3-musllinux_1_2_x86_64.whl

Download URL PyMuPDF-1.24.11-cp38-abi3-musllinux_1_2_x86_64.whl
Size 20.7 MB
Tags CPython 3.8 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
9b7ac5b8ec3daec17f2e830962ed091610e576a5e531d2fe28c437fbd69b1969
BLAKE2b-256 checksum
How to use checksums
6a929ff020892560f80433876ec904c0f2669d1d69403adf412565e54a946615
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / PyMuPDF-1.24.11-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL PyMuPDF-1.24.11-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 19.6 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
2efb793644df99db0fe2468149048175cf25c5803997828efc9152aca838f5f2
BLAKE2b-256 checksum
How to use checksums
ca21ad66778ad2485f87ef1d5a36f17ec8d4aee8ce247c8e46c673eff776a877
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / PyMuPDF-1.24.11-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL PyMuPDF-1.24.11-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 19.0 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
32fd013e3c844f105c0a6a43ee82acc7cd0c900f6ff14f5eed9492840bbcbdd9
BLAKE2b-256 checksum
How to use checksums
553d84bd559129d2ff07267baae0bde0c6f4f49232408b547971f7a2e1534cb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / PyMuPDF-1.24.11-cp38-abi3-macosx_11_0_arm64.whl

Download URL PyMuPDF-1.24.11-cp38-abi3-macosx_11_0_arm64.whl
Size 18.2 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
20c8eb65b855a33411246d6697a3f3166727fe2d8585753cf0db648730104be6
BLAKE2b-256 checksum
How to use checksums
16f88396ca7218622cb3600c919b320a24f05b7c14bd81eea03f3f2182844a06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / PyMuPDF-1.24.11-cp38-abi3-macosx_10_9_x86_64.whl

Download URL PyMuPDF-1.24.11-cp38-abi3-macosx_10_9_x86_64.whl
Size 18.9 MB
Tags CPython 3.8 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
24c35ba9e731027ff24566b90d4986e9aac75e1ce47589b25de51e3c687ddb73
BLAKE2b-256 checksum
How to use checksums
f575b059d603530d99926de2b6a64314f3534e2149ee5496142de550c66907ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

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.24.11 This release

8 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