initial commit

This commit is contained in:
klein panic
2024-09-29 01:45:31 -04:00
commit 242841c44b
8018 changed files with 1426958 additions and 0 deletions

View File

@@ -0,0 +1 @@
GNU AFFERO GPL 3.0

View File

@@ -0,0 +1,84 @@
Metadata-Version: 2.1
Name: PyMuPDF
Version: 1.24.4
Summary: A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
Description-Content-Type: text/markdown
Author: Artifex
Author-email: support@artifex.com
License: GNU AFFERO GPL 3.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: C
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Utilities
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: PyMuPDFb ==1.24.3
Requires-Python: >=3.8
Project-URL: Documentation, https://pymupdf.readthedocs.io/
Project-URL: Source, https://github.com/pymupdf/pymupdf
Project-URL: Tracker, https://github.com/pymupdf/PyMuPDF/issues
Project-URL: Changelog, https://pymupdf.readthedocs.io/en/latest/changes.html
# PyMuPDF
**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).
# Community
Join us on **Discord** here: [#pymupdf](https://discord.gg/TSpYGBW4eq)
# Installation
**PyMuPDF** requires **Python 3.8 or later**, install using **pip** with:
`pip install PyMuPDF`
There are **no mandatory** external dependencies. However, some [optional features](#pymupdf-optional-features) become available only if additional packages are installed.
You can also try without installing by visiting [PyMuPDF.io](https://pymupdf.io/#examples).
# Usage
Basic usage is as follows:
```python
import pymupdf # imports the pymupdf library
doc = pymupdf.open("example.pdf") # open a document
for page in doc: # iterate the document pages
text = page.get_text() # get plain text encoded as UTF-8
```
# Documentation
Full documentation can be found on [pymupdf.readthedocs.io](https://pymupdf.readthedocs.io).
# <a id="pymupdf-optional-features"></a>Optional Features
* [fontTools](https://pypi.org/project/fonttools/) for creating font subsets.
* [pymupdf-fonts](https://pypi.org/project/pymupdf-fonts/) contains some nice fonts for your text output.
* [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract) for optical character recognition in images and document pages.
# About
**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).
**PyMuPDF** was originally written by [Jorj X. McKie](mailto:jorj.x.mckie@outlook.de).
# License and Copyright
**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.

View File

@@ -0,0 +1,60 @@
# PyMuPDF
**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).
# Community
Join us on **Discord** here: [#pymupdf](https://discord.gg/TSpYGBW4eq)
# Installation
**PyMuPDF** requires **Python 3.8 or later**, install using **pip** with:
`pip install PyMuPDF`
There are **no mandatory** external dependencies. However, some [optional features](#pymupdf-optional-features) become available only if additional packages are installed.
You can also try without installing by visiting [PyMuPDF.io](https://pymupdf.io/#examples).
# Usage
Basic usage is as follows:
```python
import pymupdf # imports the pymupdf library
doc = pymupdf.open("example.pdf") # open a document
for page in doc: # iterate the document pages
text = page.get_text() # get plain text encoded as UTF-8
```
# Documentation
Full documentation can be found on [pymupdf.readthedocs.io](https://pymupdf.readthedocs.io).
# <a id="pymupdf-optional-features"></a>Optional Features
* [fontTools](https://pypi.org/project/fonttools/) for creating font subsets.
* [pymupdf-fonts](https://pypi.org/project/pymupdf-fonts/) contains some nice fonts for your text output.
* [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract) for optical character recognition in images and document pages.
# About
**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).
**PyMuPDF** was originally written by [Jorj X. McKie](mailto:jorj.x.mckie@outlook.de).
# License and Copyright
**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.

View File

@@ -0,0 +1,31 @@
../../../bin/pymupdf,sha256=PoXQ0feWT7lPOYAWbDRzFSKmobdQ3_dozDESUVmMZ9o,265
PyMuPDF-1.24.4.dist-info/COPYING,sha256=4Fv7ClDSjhDuQgCg-BeJPyaVMFWkyVp40FN4tIg7QBM,18
PyMuPDF-1.24.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
PyMuPDF-1.24.4.dist-info/METADATA,sha256=tAtf2jsbSWS0gldfJW-_xmRXAgoBSITZT6M5H6Z3E08,3404
PyMuPDF-1.24.4.dist-info/README.md,sha256=k_TC6ZXCvdAUk2r_zIZW5KvyC18pwa7trltjgg1vvhw,2163
PyMuPDF-1.24.4.dist-info/RECORD,,
PyMuPDF-1.24.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
PyMuPDF-1.24.4.dist-info/WHEEL,sha256=osIn01YbgdTXYlieZsGrYuNn7D-LEbFtOkMaaRJ2bjk,96
PyMuPDF-1.24.4.dist-info/entry_points.txt,sha256=9NcH_CVkHVuLNxE1TYbfwXwClVkMcM890TMTJ3C5fDA,51
fitz/__init__.py,sha256=0NDJT-bUG-V43c1Lq65MFFx8Xg3IQCMETiXvT_f1QmQ,231
fitz/__pycache__/__init__.cpython-311.pyc,,
fitz/__pycache__/table.cpython-311.pyc,,
fitz/__pycache__/utils.cpython-311.pyc,,
fitz/table.py,sha256=irhKvEpZ_4PN--TJXM2vbrSsQ4QVve43R9Cy2KZeJxM,85
fitz/utils.py,sha256=TnLKI9a60-JjET9Kj9p7Gl4MoAvpaEcDG9ZP7ywvoTA,85
pymupdf/__init__.py,sha256=ik2ze96MBAe6Jiu0QaNGLJpzQRyu2L1ykeq8MvWkSOo,790632
pymupdf/__main__.py,sha256=Yf5cIBxqk-7sBCF81qXxyk-IlnCxNVuQ-QcRxW5l938,41110
pymupdf/__pycache__/__init__.cpython-311.pyc,,
pymupdf/__pycache__/__main__.cpython-311.pyc,,
pymupdf/__pycache__/extra.cpython-311.pyc,,
pymupdf/__pycache__/mupdf.cpython-311.pyc,,
pymupdf/__pycache__/pymupdf.cpython-311.pyc,,
pymupdf/__pycache__/table.cpython-311.pyc,,
pymupdf/__pycache__/utils.cpython-311.pyc,,
pymupdf/_extra.cpython-311-x86_64-linux-gnu.so,sha256=2m6IyQ141fG1SYcYkDemwUez3m9uDEGougj45CXJYcc,244952
pymupdf/_mupdf.so,sha256=fA7SXTQLzFHDv2Hrz32si8DQiDrbQS2QpEWqYmTBfa8,13127840
pymupdf/extra.py,sha256=tNRWZVa30vegc1xZ1gDUOSc_uZQv-rzT_zdqi7lpsV0,6408
pymupdf/mupdf.py,sha256=96PHO7_tcf4mIJRQLdb79ryEeT2gzbT1nAfmf6SZm-I,2213331
pymupdf/pymupdf.py,sha256=TmBAFot49935b2zksN21nmcCqXm1VwTmLDi5tDBZY1I,64
pymupdf/table.py,sha256=feRG-j92JLwF-ydaAesP8GdyyM-ilrhKqaBjZWY_4Q0,81282
pymupdf/utils.py,sha256=0M3118YVmLYyR8ESBJxwfxm0LuZURYk18u1tkbhwELM,194084

View File

@@ -0,0 +1,4 @@
Wheel-Version: 1.0
Generator: pipcl
Root-Is-Purelib: false
Tag: cp311-none-manylinux2014_x86_64

View File

@@ -0,0 +1,3 @@
[console_scripts]
pymupdf = pymupdf.__main__:main