skip to navigation
skip to content

PyMuPDF 1.12.2

Python bindings for the PDF rendering library MuPDF

Release date: January 15, 2018

Authors

  • Ruikai Liu
  • Jorj X. McKie

Introduction

This is version 1.12.2 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 Windows users, Python wheels and other binary installation options are 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, extract text and access meta information, links, annotations and bookmarks, as well as decrypt the document. For PDF files, most of this information can also be modified. And you can re-arrange, duplicate, add, 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 and drawings). Latest features include embedding vectorized images (SVG, PDF), “posterizing” a PDF or creating “booklet” and “4-up” versions.

You have a number of options to access our documentation:

 
File Type Py Version Uploaded on Size
PyMuPDF-1.12.2-cp27-cp27m-win32.whl (md5) Python Wheel cp27 2018-01-15 2MB
PyMuPDF-1.12.2-cp27-cp27m-win_amd64.whl (md5) Python Wheel cp27 2018-01-15 2MB
PyMuPDF-1.12.2-cp34-cp34m-win32.whl (md5) Python Wheel cp34 2018-01-15 2MB
PyMuPDF-1.12.2-cp34-cp34m-win_amd64.whl (md5) Python Wheel cp34 2018-01-15 2MB
PyMuPDF-1.12.2-cp35-cp35m-win32.whl (md5) Python Wheel cp35 2018-01-15 2MB
PyMuPDF-1.12.2-cp35-cp35m-win_amd64.whl (md5) Python Wheel cp35 2018-01-15 2MB
PyMuPDF-1.12.2-cp36-cp36m-win32.whl (md5) Python Wheel cp36 2018-01-20 2MB
PyMuPDF-1.12.2-cp36-cp36m-win_amd64.whl (md5) Python Wheel cp36 2018-01-20 2MB
PyMuPDF-1.12.2-cp37-cp37m-win32.whl (md5) Python Wheel cp37 2018-01-20 2MB
PyMuPDF-1.12.2-cp37-cp37m-win_amd64.whl (md5) Python Wheel cp37 2018-01-20 2MB
PyMuPDF-1.12.2.zip (md5) Source 2018-01-15 127KB