Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python bindings for the PDF rendering library MuPDF

Project description

Release date: June 14, 2018

Authors

  • Ruikai Liu
  • Jorj X. McKie

Introduction

This is version 1.13.10 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 its top performance and high rendering quality.

With PyMuPDF you therefore can also access files with extensions *.pdf, *.xps, *.oxps, *.epub, *.cbz or *.fb2 from your Python scripts.

PyMuPDF should run on all platforms that are supported by both, MuPDF and Python. These include, but are not limited to, Windows (XP SP2 and up), Mac OS 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 (XP/SP2 and up), and popular Max OS and Linux versions, we are providing Python wheels - see the download section of this site and the current release directory of our home page. For Windows users, zip-based installation options are also available. 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, most of these objects can also be modified. Plus you can rotate, re-arrange, duplicate, create, or delete pages and join or split documents.

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). Latest features include embedding vectorized images (SVG, PDF) such as logos or watermarks, “posterizing” a PDF or creating “booklet” and “4-up” versions.

Our home page provides many examples and How-Tos for all of this. At a minimum, read the tutorial section of our documentation.

Written using SPHINX, documentation is available here:

Project details


Release history Release notifications

This version
History Node

1.13.10

History Node

1.13.8

History Node

1.13.7

History Node

1.13.4

History Node

1.13.3

History Node

1.12.5

History Node

1.12.4

History Node

1.12.3

History Node

1.12.2

History Node

1.12.1

History Node

1.12.0

History Node

1.11.2

History Node

1.11.1

History Node

1.11.0

History Node

1.10.0

History Node

1.9.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
PyMuPDF-1.13.10-cp27-cp27m-macosx_10_6_intel.whl (3.1 MB) Copy SHA256 hash SHA256 Wheel cp27 Jun 14, 2018
PyMuPDF-1.13.10-cp27-cp27m-manylinux1_x86_64.whl (3.5 MB) Copy SHA256 hash SHA256 Wheel cp27 Jun 14, 2018
PyMuPDF-1.13.10-cp27-cp27mu-manylinux1_x86_64.whl (3.5 MB) Copy SHA256 hash SHA256 Wheel cp27 Jun 14, 2018
PyMuPDF-1.13.10-cp27-cp27m-win32.whl (2.6 MB) Copy SHA256 hash SHA256 Wheel cp27 Jun 14, 2018
PyMuPDF-1.13.10-cp27-cp27m-win_amd64.whl (2.9 MB) Copy SHA256 hash SHA256 Wheel cp27 Jun 14, 2018
PyMuPDF-1.13.10-cp34-cp34m-macosx_10_6_intel.whl (3.1 MB) Copy SHA256 hash SHA256 Wheel cp34 Jun 14, 2018
PyMuPDF-1.13.10-cp34-cp34m-manylinux1_x86_64.whl (3.5 MB) Copy SHA256 hash SHA256 Wheel cp34 Jun 14, 2018
PyMuPDF-1.13.10-cp34-cp34m-win32.whl (2.6 MB) Copy SHA256 hash SHA256 Wheel cp34 Jun 14, 2018
PyMuPDF-1.13.10-cp34-cp34m-win_amd64.whl (2.9 MB) Copy SHA256 hash SHA256 Wheel cp34 Jun 14, 2018
PyMuPDF-1.13.10-cp35-cp35m-macosx_10_6_intel.whl (3.1 MB) Copy SHA256 hash SHA256 Wheel cp35 Jun 14, 2018
PyMuPDF-1.13.10-cp35-cp35m-manylinux1_x86_64.whl (3.5 MB) Copy SHA256 hash SHA256 Wheel cp35 Jun 14, 2018
PyMuPDF-1.13.10-cp35-cp35m-win32.whl (2.6 MB) Copy SHA256 hash SHA256 Wheel cp35 Jun 14, 2018
PyMuPDF-1.13.10-cp35-cp35m-win_amd64.whl (2.9 MB) Copy SHA256 hash SHA256 Wheel cp35 Jun 14, 2018
PyMuPDF-1.13.10-cp36-cp36m-macosx_10_6_intel.whl (3.1 MB) Copy SHA256 hash SHA256 Wheel cp36 Jun 14, 2018
PyMuPDF-1.13.10-cp36-cp36m-manylinux1_x86_64.whl (3.5 MB) Copy SHA256 hash SHA256 Wheel cp36 Jun 14, 2018
PyMuPDF-1.13.10-cp36-cp36m-win32.whl (2.6 MB) Copy SHA256 hash SHA256 Wheel cp36 Jun 14, 2018
PyMuPDF-1.13.10-cp36-cp36m-win_amd64.whl (2.9 MB) Copy SHA256 hash SHA256 Wheel cp36 Jun 14, 2018
PyMuPDF-1.13.10-cp37-cp37m-win32.whl (2.6 MB) Copy SHA256 hash SHA256 Wheel cp37 Jun 14, 2018
PyMuPDF-1.13.10-cp37-cp37m-win_amd64.whl (2.9 MB) Copy SHA256 hash SHA256 Wheel cp37 Jun 14, 2018
PyMuPDF-1.13.10.tar.gz (139.1 kB) Copy SHA256 hash SHA256 Source None Jun 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page