comparison PKG-INFO @ 1:1d09e1dec1d9 upstream

ADD: PyMuPDF v1.26.4: the original sdist. It does not yet contain MuPDF. This normally will be downloaded when building PyMuPDF.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:37:51 +0200
parents
children a6bc019ac0b2
comparison
equal deleted inserted replaced
-1:000000000000 1:1d09e1dec1d9
1 Metadata-Version: 2.1
2 Name: PyMuPDF
3 Version: 1.26.4
4 Summary: A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
5 Description-Content-Type: text/markdown
6 Author: Artifex
7 Author-email: support@artifex.com
8 License: Dual Licensed - GNU AFFERO GPL 3.0 or Artifex Commercial License
9 Classifier: Development Status :: 5 - Production/Stable
10 Classifier: Intended Audience :: Developers
11 Classifier: Intended Audience :: Information Technology
12 Classifier: Operating System :: MacOS
13 Classifier: Operating System :: Microsoft :: Windows
14 Classifier: Operating System :: POSIX :: Linux
15 Classifier: Programming Language :: C
16 Classifier: Programming Language :: C++
17 Classifier: Programming Language :: Python :: 3 :: Only
18 Classifier: Programming Language :: Python :: Implementation :: CPython
19 Classifier: Topic :: Utilities
20 Classifier: Topic :: Multimedia :: Graphics
21 Classifier: Topic :: Software Development :: Libraries
22 Requires-Python: >=3.9
23 Project-URL: Documentation, https://pymupdf.readthedocs.io/
24 Project-URL: Source, https://github.com/pymupdf/pymupdf
25 Project-URL: Tracker, https://github.com/pymupdf/PyMuPDF/issues
26 Project-URL: Changelog, https://pymupdf.readthedocs.io/en/latest/changes.html
27
28 # PyMuPDF
29
30 **PyMuPDF** is a high performance **Python** library for data extraction, analysis, conversion & manipulation of [PDF (and other) documents](https://pymupdf.readthedocs.io/en/latest/the-basics.html#supported-file-types).
31
32 # Community
33 Join us on **Discord** here: [#pymupdf](https://discord.gg/TSpYGBW4eq)
34
35
36 # Installation
37
38 **PyMuPDF** requires **Python 3.9 or later**, install using **pip** with:
39
40 `pip install PyMuPDF`
41
42 There are **no mandatory** external dependencies. However, some [optional features](#pymupdf-optional-features) become available only if additional packages are installed.
43
44 You can also try without installing by visiting [PyMuPDF.io](https://pymupdf.io/#examples).
45
46
47 # Usage
48
49 Basic usage is as follows:
50
51 ```python
52 import pymupdf # imports the pymupdf library
53 doc = pymupdf.open("example.pdf") # open a document
54 for page in doc: # iterate the document pages
55 text = page.get_text() # get plain text encoded as UTF-8
56
57 ```
58
59
60 # Documentation
61
62 Full documentation can be found on [pymupdf.readthedocs.io](https://pymupdf.readthedocs.io).
63
64
65
66 # <a id="pymupdf-optional-features"></a>Optional Features
67
68 * [fontTools](https://pypi.org/project/fonttools/) for creating font subsets.
69 * [pymupdf-fonts](https://pypi.org/project/pymupdf-fonts/) contains some nice fonts for your text output.
70 * [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract) for optical character recognition in images and document pages.
71
72
73
74 # About
75
76 **PyMuPDF** adds **Python** bindings and abstractions to [MuPDF](https://mupdf.com/), a lightweight **PDF**, **XPS**, and **eBook** viewer, renderer, and toolkit. Both **PyMuPDF** and **MuPDF** are maintained and developed by [Artifex Software, Inc](https://artifex.com).
77
78 **PyMuPDF** was originally written by [Jorj X. McKie](mailto:jorj.x.mckie@outlook.de).
79
80
81 # License and Copyright
82
83 **PyMuPDF** is available under [open-source AGPL](https://www.gnu.org/licenses/agpl-3.0.html) and commercial license agreements. If you determine you cannot meet the requirements of the **AGPL**, please contact [Artifex](https://artifex.com/contact/pymupdf-inquiry.php) for more information regarding a commercial license.