Skip to main content

Commercial extensions for PyMuPDF; enables Office document handling, including doc, docx, hwp, hwpx, ppt, pptx, xls, xls, and others. Supports text and table extraction, document conversion and more.

Project description

PyMuPDF Pro

Overview

PyMuPDF Pro is a set of commercial extensions for PyMuPDF.

  • Enables Office document handling, including doc, docx, hwp, hwpx, ppt, pptx, xls, xlsx, and others.

  • Supports text and table extraction, document conversion and more.

  • Available for these platforms only:

    • Windows x86_64.
    • Linux x86_64 (glibc).
    • Linux aarch64 (glibc).
    • MacOS x86_64.
    • MacOS arm64.
  • Supports Python 3.10+.

  • See https://artifex.com/products/pymupdf-pro/ for more.

Installation

pip install pymupdfpro

This will also install PyMuPDF.

Usage

Restricted usage without a key:

import pymupdf.pro
pymupdf.pro.unlock()

# PyMuPDF has now been extended with PyMuPDF Pro features, with some
# restrictions.

Unrestricted usage with a key from https://pymupdf.io/try-pro:

import pymupdf.pro
pymupdf.pro.unlock(my_key)

# PyMuPDF has now been extended with PyMuPDF Pro features.

Changelog

PyMuPDFPro-1.28.0

  • Works with PyMuPDF-1.28.0.
  • Use Marina version of SmartOffice.
  • Added git build information in pymupdf.pro._pro_build.
  • Added export functions:
    • pymupdf.pro.office_to_json().
    • pymupdf.pro.office_to_markdown().
    • pymupdf.pro.office_to_pdf().
    • pymupdf.pro.office_export().

PyMuPDFPro-1.27.2.3

  • Works with PyMuPDF-1.27.2.3.
  • Uses SmartOffice tag v3.16.79.
  • Fix pymupdf #4159 PyMuPDF Pro 1.25.0: Image in .doc file unexpectedly overlaps with text when using get_pixmap()
  • Retrospectively mark pymupdf #4158 as fixed in PyMuPDFPro-1.27.1.

PyMuPDFPro-1.27.2.2

  • Works with PyMuPDF-1.27.2.2.
  • Uses SmartOffice tag v3.16.79.

PyMuPDFPro-1.27.2

  • Works with PyMuPDF-1.27.2.
  • Use SmartOffice tag v3.16.79.

PyMuPDFPro-1.27.1

  • Works with PyMuPDF-1.27.1.
  • Use SmartOffice tag v3.16.76.
  • Fixed pymupdf #4158.

PyMuPDFPro-1.26.6

  • Works with PyMuPDF-1.26.6.

PyMuPDFPro-1.26.5

  • Works with PyMuPDF-1.26.5.
  • Refuse to run if mupdf is incorrect version - avoids potential segv with incorrect installations.
  • On MacOS, avoid depending on Brew install of fontconfig.
  • Graal fixes.

PyMuPDFPro-1.26.4.1

  • Experimental release.
  • On MacOS, avoid depending on Brew install of fontconfig.
  • Graal fixes.

PyMuPDFPro-1.26.4

  • Works with PyMuPDF-1.26.4.
  • Use SmartOffice tag v3.16.68.

PyMuPDFPro-1.26.3.1

  • Experimental release with SO fixes.

PyMuPDFPro-1.26.3 (2025-7-11):

  • Works with PyMuPDF-1.26.3.

PyMuPDFPro-1.26.1 (2025-6-26):

  • Fix problem in activity monitoring.
  • Use SmartOffice tag v3.16.61-preconverted.
  • Added Linux-aarch64 wheel.
  • Use SmartOffice tag issue10489.
  • Fixed document.metadata['format'] strings - previously the last character was truncated.
  • Fixed test_4496(), 'cannot find entry Contents/Contents/header.xml' error.

PyMuPDFPro-1.25.5 (2025-04-01):

  • Works with PyMuPDF-1.25.5.

PyMuPDFPro-1.25.4 (2025-03-17):

  • Works with PyMuPDF-1.25.4.
  • Use SmartOffice tag issue10456.
  • Avoid Windows test failure if font directory does not exist.

PyMuPDFPro-1.25.3 (2025-02-10):

  • Works with PyMuPDF-1.25.3.
  • Use newer Office code.

PyMuPDFPro-1.25.0 (2024-12-09):

  • Fixed handling of trial keys - used to only allow 3 pages.
  • Avoid using many file descriptors for installed .otf fonts.

2024-12-03: PyMuPDFPro-1.24.14

  • Works with PyMuPDF-1.24.14.
  • Allow use with later PyMuPDF.
  • Improve font finding on Windows.
  • Added activity monitoring.
  • Improved handling of invalid keys.
  • Improved display of key timeout.

2024-10-25: PyMuPDFPro-1.24.12

  • Works with PyMuPDF-1.24.12.
  • Automatically add all system fonts on non-Windows.
    • Fixes #3976.

2024-10-15: PyMuPDFPro-1.24.11

  • Works with PyMuPDF-1.24.11.

  • Work better on older OS releases.

  • Supported Python versions are now 3.9-3.13.

  • Wheels now use the Python Stable ABI.

    • There is now just one wheel per platform.
    • Each wheel works with all supported Python versions.

2024-09-05: PyMuPDFPro-1.24.10

  • Works with PyMuPDF-1.24.10.
  • Added support for MacOS-arm64.
  • Fixed detection of key with no expiry.

2024-08-08: PyMuPDFPro-1.24.9.1

  • Works with PyMuPDF-1.24.9.
  • Added support for MacOS-x86_64.

2024-07-26: PyMuPDFPro-1.24.9

  • Works with PyMuPDF-1.24.9.
  • Support for Windows-amd64 and Linux-x86_64.

Licensing

Some PyMuPDFPro wheels contain libfontconfig, which is distributed under the following license:

Copyright © 2000,2001,2002,2003,2004,2006,2007 Keith Packard
Copyright © 2005 Patrick Lam
Copyright © 2007 Dwayne Bailey and Translate.org.za
Copyright © 2009 Roozbeh Pournader
Copyright © 2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020 Red Hat, Inc.
Copyright © 2008 Danilo \u0160egan
Copyright © 2012 Google, Inc.
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation, and that the name of the author(s) not be used in
advertising or publicity pertaining to distribution of the software without
specific, written prior permission.  The authors make no
representations about the suitability of this software for any purpose.  It
is provided "as is" without express or implied warranty.
THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pymupdfpro-1.28.0-cp310-abi3-win_amd64.whl (6.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

pymupdfpro-1.28.0-cp310-abi3-manylinux_2_28_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

pymupdfpro-1.28.0-cp310-abi3-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

pymupdfpro-1.28.0-cp310-abi3-macosx_11_0_arm64.whl (7.1 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

pymupdfpro-1.28.0-cp310-abi3-macosx_10_9_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.10+macOS 10.9+ x86-64

File details

Details for the file pymupdfpro-1.28.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: pymupdfpro-1.28.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 6.5 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pymupdfpro-1.28.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ed1d44f19daf591fb63b892d4963d5cb662685407b29ca2f1a36dc3172d76e8f
MD5 f69c4745b049cd9d654066d8227a57fa
BLAKE2b-256 eae521ea7f5fbcf1768a21b9977d35f23fcfaaa21422fcda7a0ca79b98a991d7

See more details on using hashes here.

File details

Details for the file pymupdfpro-1.28.0-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymupdfpro-1.28.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 577348b31cd7aeedffab77b10df16f6676b91d4c15daa4d2fb0f0c7ec4e1d109
MD5 e08ef8b4aeb19fb2a8bddac51029bea7
BLAKE2b-256 6a41f323dd83864d54897a8c9e71ba42b6819e4b234104a789879dd50092c63f

See more details on using hashes here.

File details

Details for the file pymupdfpro-1.28.0-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymupdfpro-1.28.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 975fa656a40e5a3176afc59ad56b048fe13e4a0c6cb8db85f11ebabb3a913dd2
MD5 4d087c687bc2dcc06058a723066cb26d
BLAKE2b-256 df23ab2eb2b7495f934cc14473f7d81c3d42b7d9acfe6ee6ea3801feaa0e21d3

See more details on using hashes here.

File details

Details for the file pymupdfpro-1.28.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pymupdfpro-1.28.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 474433b828a20064de7ff90845d12c8f5f5704b651600fe2b64a240152bc6275
MD5 fc5aac21525a4f6410c8420b9605e849
BLAKE2b-256 1c66a526a3bef7461aa99336c16bdf4435472e8921a15a6a98a0f24a2d7eac1f

See more details on using hashes here.

File details

Details for the file pymupdfpro-1.28.0-cp310-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pymupdfpro-1.28.0-cp310-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d8f18f7b0728c4a186dd1b9dc93df4659a5e917532f08adb90ac476be657a126
MD5 50895f2b8a89ab784429bc725ebc7291
BLAKE2b-256 00adf37d546f1330d3057a1f160664da8c2e4865737ba1111b505a806d40347d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page