Skip to main content

Python bindings for the PDF rendering library MuPDF

Project description

Release date: November 30, 2020

Authors

  • Jorj X. McKie

  • Ruikai Liu

Introduction

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

With PyMuPDF you therefore can access files with extensions *.pdf, *.xps, *.oxps, *.epub, *.cbz or *.fb2 from your Python scripts. A number of popular image formats is supported as well, including multi-page TIFF images.

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 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 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, 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.4.tar.gz (250.2 kB view details)

Uploaded Source

Built Distributions

PyMuPDF-1.18.4-cp39-cp39-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 Windows x86

PyMuPDF-1.18.4-cp39-cp39-manylinux2010_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

PyMuPDF-1.18.4-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.4-cp38-cp38-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 Windows x86

PyMuPDF-1.18.4-cp38-cp38-manylinux2010_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

PyMuPDF-1.18.4-cp37-cp37m-manylinux2010_x86_64.whl (6.3 MB view details)

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

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

PyMuPDF-1.18.4-cp36-cp36m-manylinux2010_x86_64.whl (6.3 MB view details)

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

PyMuPDF-1.18.4-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.4.tar.gz.

File metadata

  • Download URL: PyMuPDF-1.18.4.tar.gz
  • Upload date:
  • Size: 250.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4.tar.gz
Algorithm Hash digest
SHA256 c9f7c3077d6d1782b7e400456e52e6776fc76e90a1c498690b3f315822f0d1e8
MD5 609f8e9456117b99436fb6fe8785970d
BLAKE2b-256 174018740f9a68adc117bae7005e1a5ea397d179749682f06e409b0feb935fe1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 517be9e82b89c11a10992d8704ff519e5d0d70fdab268080b01ada4f2344f076
MD5 a07ee052bf1f7f807630c5ad0bc2e0e5
BLAKE2b-256 d3a5fe406c2095f534f490f1083380b8f76208842ec71e90b9f6b0411b33e0d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 2483544647f6c92eb63382d0de83020fec5260fc6b609b2b0ae75358f397b9bd
MD5 37ae81a6926b144db0bd1aca6fafcc0d
BLAKE2b-256 e1aa8ee974cdb3d7396cc4f3c528559af19dff05d94bae3a05c614adc7bdb518

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 cdfb4048b6c21c00a33b4f7e2e3c5029c71002d6cb873598842cf1639ad76a26
MD5 e4441dfe4e02893c9d845ea614b5b9ad
BLAKE2b-256 21d0e3d4a4e7947ac1e150043f0a7e50719ed1db6c3027338a0b7248f8466000

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ef1ed8bd4154046f6cfb6470d0496873977495419d8c7f8a21fd505915fd0cfd
MD5 d21f8f7654e4030b3f1882b219ad5cb0
BLAKE2b-256 9ef89e2b8c6be79b67ffe6225d4de1bb14b9545954014f1dc62465e8d0259fba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 139790f8c085b3208bd5201185af0cb52c5e908ab4a24f6476cd5931cc6c7bab
MD5 13fb8ed99723f5e6f6a4b7f2a467f119
BLAKE2b-256 a77ff9eb57897aa37b8df90d70e7c66cc2224d3f6ec44fe5b141e31a1aafc4b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 3257560f7ddd656f8f1058407a92a9a9466d64d267ef0e28704a9424013e74ca
MD5 c17dd800c5b0e717e8c0db7e5ae99da6
BLAKE2b-256 be310dfdea634f15cec080388d235d5bae720ebe6412fbf8cb45bb5af1f14cb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c894283f067077d02e2d4c6fc05317ab57f5955973016b75876980ea3487ee15
MD5 44513c013b59fccdd91637ef35b37b98
BLAKE2b-256 0941e71d74eb99364f13e28b380a2f696df80f13b50d327c6bd8a15ce91cdb4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3d6d7400e779fd3b6915c882e9629ef10007282b206acd068a675c8dd2d7a5cd
MD5 2d4c18419c5edf8dec3455d439e25385
BLAKE2b-256 d11b3fdf9ec969e84d61afdf520a7f66cd86721b36b3e7a0f9790d993dc20497

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 42ae65dfc81c3b7a414752e2d9449b2ec6f4836423685dfd8b0fba91ce3d6948
MD5 da7d23056dc828fd32e6fd44b54575d1
BLAKE2b-256 5d9e04c98a8aa8858ff455fa9110b29cdc4f7ed1450bcd0817aabaec1d8925f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 3c3bf77624261f13e17a1a21b11b20c38e15fda0908af9626f94620435822f50
MD5 903d88cf4726145f08a5851ea279e0ad
BLAKE2b-256 d117867dc82310e260f2f605a70369f4eda5ce5e659c7f25f5e553e404470c3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 985b3cb11dfb85d8db9ef52908f6266c91b85ebf9dcf7ea213e965a7ea9f472e
MD5 5b5b8f8e847ceb2b62a31fcd5ce1ecf0
BLAKE2b-256 e81891c36c8a9d35f8f00c0522d53e3bbc8f64ffebba614a599eb3379476bbe5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7797bf8f20503ed24eb2f59c53083716fd29fe9ddff6946d9c44eee6c38d5a99
MD5 95b78c79ebd6f4081079d33fe71b3ebe
BLAKE2b-256 06e7e036cf894db9874f90abd8a306075cf629854cd9750b1d5b16ee2d3531b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 d9037d0a09254dec956801af4af6943dae3c43eb4bc5106e575de42b1ac57aea
MD5 3f6abf4b8bf09f5f6aa1803de3d4d1ad
BLAKE2b-256 8e7ec296dbd773132f207177b59ccd8d8093d4088f14f1d3c933509624cf22b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 d7f919dd23ac42f789b4da04c697a62e0804337b0f95ef4a95fc21e57dc9a563
MD5 70db6d3893c8a24751d2cf15c320cea3
BLAKE2b-256 17c237e79d7207177c2203af7c42de166c11afb676f727e9db62a797489415f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 71c08b3dd3809d09a7043a6d1e0f458bc52e3394e789e7757cc0caa4c5d2d88e
MD5 1c59e13a597a56cb37e18ecf4302d539
BLAKE2b-256 75bae3452b39855aa59d06fc149e1f51a8b14108b682b9f58f6556647ef56b2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyMuPDF-1.18.4-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for PyMuPDF-1.18.4-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5e8537ff8d305e49fad72b60a1a7c49ae8666d11b21d02f7bb6c890746359cc3
MD5 ebe2d61fa0d4cdf22c2552836bd12a98
BLAKE2b-256 fea5230d69f3f06b522ec15d313384fceaaf24f355d0c3b11b4cda98b065cfb9

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