Skip to main content

Python bindings for the PDF rendering library MuPDF

Reason this release was yanked:

superseded by v1.18.12 which only differs in metadata

Project description

Release date: April 10, 2021

Authors

  • Jorj X. McKie

  • Ruikai Liu

Introduction

PyMuPDF (current version 1.18.11) 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 handled like documents: .png, .bmp, .gif, .tiff, etc..

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:

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.11.tar.gz (314.0 kB view details)

Uploaded Source

Built Distributions

PyMuPDF-1.18.11-cp39-cp39-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 Windows x86

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

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.11-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.11-cp38-cp38-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 Windows x86

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

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.11-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.11-cp37-cp37m-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

PyMuPDF-1.18.11-cp37-cp37m-manylinux2010_x86_64.whl (6.4 MB view details)

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

PyMuPDF-1.18.11-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.11-cp36-cp36m-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

PyMuPDF-1.18.11-cp36-cp36m-manylinux2010_x86_64.whl (6.4 MB view details)

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

PyMuPDF-1.18.11-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.11.tar.gz.

File metadata

  • Download URL: PyMuPDF-1.18.11.tar.gz
  • Upload date:
  • Size: 314.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11.tar.gz
Algorithm Hash digest
SHA256 cf624a35bce04db20a0504cf98de44dd6eddf553a67dd890770fbb0f3323f07e
MD5 c49afa5760341a925e6306762a5832dd
BLAKE2b-256 2ce5e2465cc6710463ca6d05ef9edfe84a7d871ad151cc987b10a0a17bb898b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c35a20a2e6e6edbeefa24c7f5c128fca077e39a4e4230014d0e55ea009a48c69
MD5 5c653727dad33c9dfaa73e1ca5539c12
BLAKE2b-256 c17ac87a80ee329b083a7c8188e6f6cf208b8cee12c35711f47cb4db319428d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 5e81ef05a8d5d7337b5120eb4d9059af4946885a0efd0fdaf1df90ee5c374981
MD5 77c1ead35a48f0464d6b2cf8b371be11
BLAKE2b-256 03b6b3b7f48284333158928f614508f48c8307f1b7521e413f75cb8dc4f283dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ce9fa501f8d50e7c55c111134c5cb8552cdd8809df060d68944290a956652eba
MD5 567353cb9b35f5f30d44a8ae3ca71705
BLAKE2b-256 b89380fb14b47cadeeeac03a66cadedb685e64f6be57f3a0fc7a260b6179f531

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0ed045df4f2d6dca4636d1b85fe751267e98557cbde8f41db90a834670fe3ed9
MD5 1fe6357c0735bc9cc95bea2aa4630353
BLAKE2b-256 2f7319948d807510fcd2b3f9d797d8b311bdb8d479e8231ed5cf33b0ba15a6c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2ef7438083a4e0a921a7ef08648a379ce3e6ff7a00fded083413873b88031ae0
MD5 830ec8ff21970ab879d06170759e0757
BLAKE2b-256 d08109a32515106147d4962b091fe6503e32c5ad9d11fd666b85f41b19ca0517

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 d420200c0cd4e94048f3def9591010d489266dfda1106053c12abde9afc0fff6
MD5 832917797a63ef1d298fdd674b04b9ee
BLAKE2b-256 e583430330f190c79f13ccedeb6a368860dead47a3e0d6b4dd3c33d13f1763c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 73e5b8365e489bea8d973d46b5815f398e6eb2fb2635e7dacf57e8563c7051b6
MD5 677045ca85eb653254a799c3848a7e06
BLAKE2b-256 088aa3dac370395fa95d8e5ef786f109a8c69021aaf02ee9c8f948efa2059e75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f05507f81a58b40624ae985b1ccb9d0dd809b5b1530b30af4aeb2f175b91ebf1
MD5 b8caf1af61e28e5a36d9bd6d0eb6ce4f
BLAKE2b-256 0a4c65f34f539187677c0018b351c91e90aceb4c3490202c443af88a46d1a433

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 519e09a38be62e84bde9dbe126919a07991486b6c1424a85bb78d739e988e1a7
MD5 7eaf308a2d1961f64d7584bc360c4293
BLAKE2b-256 be37f92e10a63ac1b9a1cd76e172f795d1865084c8da321b4f720e1e3c4a95a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 e2032ac478700ddeb3fff1d1a01fa2a4b3155535971e81ace1b371b0f1c7a618
MD5 a2190e4c7bf62f34183e0953b3548836
BLAKE2b-256 2b60894187f9768f70f0ef571d72a7991efcc3fad190713657b0fc3a5f5b86ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 60dc1d64d0b4067f7dc95e2ebc228176c49452f1b5e36fa8f2fbcad554a098b1
MD5 846cc0b2e20c0121dc4b16b24df287e2
BLAKE2b-256 dcea2634c576c28cd30be29059a890ef2eb4f006bb7b81042a0fb6f742b16724

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e0eeda78dde96a97edc5b677680f80c48bef7fabee5049867ce55967f953c8d9
MD5 692854c69166b8da917dfdee45daf133
BLAKE2b-256 a552f1e30a0141983fa708df6822cd83e651f7a0fc2f479c2d4a95cbb539751d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 f3a9dc4cc818348571bd4b1a649906df1709dab7054310d604a7af7788e821b7
MD5 25e4c94169786d4dd27256364fbb9e99
BLAKE2b-256 016a9a79edad213734d6d1f96b63e0836ccd923af6872be10de6a438b2b295a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 73cb2094633eef940f9e649c3e3e1a33abce14ee46ff3421af999c0a37ccaa25
MD5 257b35a44f8858d1a60f5a80da4ae791
BLAKE2b-256 57702ae85875b7574314af8d7c1fd9bb13498c99be01e204ee1f1f2dba2c950d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3bb13739034dab6d502955d33fd71895f5c06227183f75de9eb3a502843403a6
MD5 6b6f0af694fdd4c769b12799a9657dd6
BLAKE2b-256 a8902f31d16996c71968789104195f9ecee90b165b4bb4be88587405aa450cd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.11-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.4

File hashes

Hashes for PyMuPDF-1.18.11-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 abe7d054a10d6856d04a62f3c8610ef666a42d02c9708d350a860d4a7b07037b
MD5 264b7d9e0b79fa620cd620e90413e6e5
BLAKE2b-256 5cf4c817ba7718f7464347586b52a60fb6fd9a0f1cc860a86dc1f100fa9dab83

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