Python bindings for the PDF rendering library MuPDF
Project description
Release date: January 31, 2021
Introduction
This is version 1.18.7 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 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 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
Built Distributions
File details
Details for the file PyMuPDF-1.18.7.tar.gz
.
File metadata
- Download URL: PyMuPDF-1.18.7.tar.gz
- Upload date:
- Size: 266.8 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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b562d099524326434e55360ea11d83d9d60566cf6f597203334fa1ad42586a40 |
|
MD5 | 4ae5dac455b20f6c636bc8fd9dfde434 |
|
BLAKE2b-256 | 5b43216e28aa5a1bb0d3a3b9109fda7ce7f504eb2b4e4b4fa56ffcb56d968e35 |
File details
Details for the file PyMuPDF-1.18.7-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8252eacf48d3178fba0ca56c5358ecdaf651307d1d0a62b42a1fea2124403a2c |
|
MD5 | d7924161e6b5db82d96eec1a63cbe91e |
|
BLAKE2b-256 | 315a1c704693c193bc51ff0ea14456945e7a74f542c490f73546e93bed7718ed |
File details
Details for the file PyMuPDF-1.18.7-cp39-cp39-win32.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf02c6b98afadc4ce42af7ba19eeb46bb756049e0f8fff2a4519430d5b04cde3 |
|
MD5 | aa349d75454ca55c33232c9165534f65 |
|
BLAKE2b-256 | 6a7eefc04907f9035cf3f4491177247cb752b95bc949ebf22b5dc47a37fb515c |
File details
Details for the file PyMuPDF-1.18.7-cp39-cp39-manylinux2010_x86_64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b7241bae05a53136a9f77afe1ec16c9ce89fc201c8247605183f8ac2b3f1b3e |
|
MD5 | db1d2de73e2cb2edf17a110c8bd5ab6b |
|
BLAKE2b-256 | ef3c52d64779b70ba8a503dd1afc7fcad8f223734e4d17ca201af60accbe609e |
File details
Details for the file PyMuPDF-1.18.7-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 5.5 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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e535187185728955538935ac304fdeb6299fdcd8998d0bab1e872cee9e0e8c61 |
|
MD5 | 111dc9e1af30ae569c43adafb157f72d |
|
BLAKE2b-256 | 6eff2cca5cd45fe1b2ee62aa12041990a02dc9a0b038be2eab87f5be539fd037 |
File details
Details for the file PyMuPDF-1.18.7-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f037ab2c05d179937770062786ff8a5c615cfd921252ab438c214d10b530f8b1 |
|
MD5 | fc60a8c293fb350f3705c761c90957a8 |
|
BLAKE2b-256 | 560809aab618ab14e185b58601983847ffefbc34a3838b322b195497397cb7fa |
File details
Details for the file PyMuPDF-1.18.7-cp38-cp38-win32.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 294a1ee508271bef84acfe195c725da31dd8d7725f3ae90b7f3cd373734088ee |
|
MD5 | 68f09fb5904e2d2ec23d59d0ea78a7a1 |
|
BLAKE2b-256 | c95322c067416fbbbe22d6899fa371ccd53d8f52cccadd95911f29f2f3cde589 |
File details
Details for the file PyMuPDF-1.18.7-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d1b29d591985fe6d6c99fb507c7c069d80f621680344714046c35faf2df79f |
|
MD5 | 6093c5075d7970c6174ed60e93914d7b |
|
BLAKE2b-256 | 8ffde9e9a567406106ff13ed6899670d709dfc3c3b14fda98c1572d70f952d64 |
File details
Details for the file PyMuPDF-1.18.7-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 5.5 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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f330504c6133b71af78d23fba25366c4bdca787110e95ede124e11aa27e5ca95 |
|
MD5 | 53de86a895f8c55a1da433fa9b3adadc |
|
BLAKE2b-256 | ca6395f9132deb33716dd23d576397972c93de4c59b8bc6e149e55f9bc139c64 |
File details
Details for the file PyMuPDF-1.18.7-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 542877e43294bbe8bfc423d035892f1367b1c728329b0cc903392746168cb1a1 |
|
MD5 | 8f9278d10cecf3db6f6a1447c3b9ca13 |
|
BLAKE2b-256 | 4abdaf5d56838ff4f484f0a07cb11dff9e25c2c5a2dd6a2bf5fc0eed20c771c5 |
File details
Details for the file PyMuPDF-1.18.7-cp37-cp37m-win32.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24f7ac14e5d8dcbf32a04d30eb981a16c1e8cd4f0f2f72671d5706960db1c5d8 |
|
MD5 | 8d73d0ee16129314310785676b03a6c2 |
|
BLAKE2b-256 | 10ef0ad11284d1208285c7ef8440c7fad1189569b0e4e3caeed5f10112cca050 |
File details
Details for the file PyMuPDF-1.18.7-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c37880b719873a06bbc498b3427459b7a902d0b4056d50a2ccbf9317fddc6f |
|
MD5 | 397c2472bf5ff70151f21080c838c83d |
|
BLAKE2b-256 | 897b44356222cee0024516abe73f8916188c93aff5f1a21700b52cfbc7734eb7 |
File details
Details for the file PyMuPDF-1.18.7-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 5.5 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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5df27d91f11e7034b44cf126214d6f3b3c9aeafecb18a9daaa50f5ae2668376c |
|
MD5 | 82f8f902d1741d75c1009ae201ea8670 |
|
BLAKE2b-256 | 4d5924019f5e8edf819f7e8194f72bb82f47a07a317e564e0ae87720ba738ea9 |
File details
Details for the file PyMuPDF-1.18.7-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 233b1b58fe9104c89db69f2d3dc3d5f5b7c3e8ec716543168e1a0d43524b1de4 |
|
MD5 | f87fc9159f8c389ce2d65a3ebc81ef41 |
|
BLAKE2b-256 | af5cacb6977196bef48645ea3d04fc68f46bb6edd5ee41e9b72c9f48aee4a93f |
File details
Details for the file PyMuPDF-1.18.7-cp36-cp36m-win32.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e752ab0bf67811f23f862cdd7cffef0e04cf28609d5cef77d414020e4a585345 |
|
MD5 | c87fd3af603f0ec00844c76b071ad1ae |
|
BLAKE2b-256 | 36ff8cbd18bf55c73d0f890630d55ff4067b8553400331f2f7a76185dbe89244 |
File details
Details for the file PyMuPDF-1.18.7-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 446a6805f9be7a642d0c2b8e2ce70dec03618586b088b8b953c7a92641ca7c03 |
|
MD5 | 9b7aa7a530d6022e794d65bbd7a4d5e0 |
|
BLAKE2b-256 | 48422f6b576292a85512af63ba3298a44c34fb99ac7a1a04fbd9a705c69b1939 |
File details
Details for the file PyMuPDF-1.18.7-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: PyMuPDF-1.18.7-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 5.5 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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38dc75f49a4876cf90283e1b44f6619c336bed81549e767fa3ff43ce3f64c6ed |
|
MD5 | a8ca508fa3248357e89ca315d053dcd8 |
|
BLAKE2b-256 | c3029adb8a25e14eb95f6a7a8c80f2ccd71188d46929c6de5b34382fe1411e9c |