{"id":21458034,"url":"https://github.com/timothy-bartlett/pymupdf","last_synced_at":"2026-05-18T22:09:47.443Z","repository":{"id":254200562,"uuid":"845764055","full_name":"timothy-bartlett/PyMuPDF","owner":"timothy-bartlett","description":"PyMuPDF is a high performance Python library for data extraction, analysis, conversion \u0026 manipulation of PDF (and other) documents.","archived":false,"fork":false,"pushed_at":"2024-08-22T00:14:40.000Z","size":302276,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T13:43:53.289Z","etag":null,"topics":["data-science","extract-data","font","mupdf","ocr","pdf","pdf-documents","pymupdf","python","table-extraction","text-processing","text-shaping","xps"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timothy-bartlett.png","metadata":{"files":{"readme":"README.md","changelog":"changes.txt","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"docs/supported-files-table.rst","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-21T22:13:34.000Z","updated_at":"2024-08-22T00:14:44.000Z","dependencies_parsed_at":"2024-08-22T01:43:55.725Z","dependency_job_id":"1a8f3806-8290-4e89-aa09-0ccab93d6ee8","html_url":"https://github.com/timothy-bartlett/PyMuPDF","commit_stats":null,"previous_names":["timothy-bartlett/pymupdf"],"tags_count":157,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timothy-bartlett%2FPyMuPDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timothy-bartlett%2FPyMuPDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timothy-bartlett%2FPyMuPDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timothy-bartlett%2FPyMuPDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timothy-bartlett","download_url":"https://codeload.github.com/timothy-bartlett/PyMuPDF/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243971211,"owners_count":20376784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","extract-data","font","mupdf","ocr","pdf","pdf-documents","pymupdf","python","table-extraction","text-processing","text-shaping","xps"],"created_at":"2024-11-23T06:17:19.998Z","updated_at":"2026-05-18T22:09:47.409Z","avatar_url":"https://github.com/timothy-bartlett.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyMuPDF\n\n**PyMuPDF** is a high performance **Python** library for data extraction, analysis, conversion \u0026 manipulation of [PDF (and other) documents](https://pymupdf.readthedocs.io/en/latest/the-basics.html#supported-file-types).\n\n# Community\nJoin us on **Discord** here: [#pymupdf](https://discord.gg/TSpYGBW4eq)\n\n\n# Installation\n\n**PyMuPDF** requires **Python 3.8 or later**, install using **pip** with:\n\n`pip install PyMuPDF`\n\nThere are **no mandatory** external dependencies. However, some [optional features](#pymupdf-optional-features) become available only if additional packages are installed.\n\nYou can also try without installing by visiting [PyMuPDF.io](https://pymupdf.io/#examples).\n\n\n# Usage\n\nBasic usage is as follows:\n\n```python\nimport pymupdf # imports the pymupdf library\ndoc = pymupdf.open(\"example.pdf\") # open a document\nfor page in doc: # iterate the document pages\n  text = page.get_text() # get plain text encoded as UTF-8\n\n```\n\n\n# Documentation\n\nFull documentation can be found on [pymupdf.readthedocs.io](https://pymupdf.readthedocs.io).\n\n\n\n# \u003ca id=\"pymupdf-optional-features\"\u003e\u003c/a\u003eOptional Features\n\n* [fontTools](https://pypi.org/project/fonttools/) for creating font subsets.\n* [pymupdf-fonts](https://pypi.org/project/pymupdf-fonts/) contains some nice fonts for your text output.\n* [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract) for optical character recognition in images and document pages.\n\n\n\n# About\n\n**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).\n\n**PyMuPDF** was originally written by [Jorj X. McKie](mailto:jorj.x.mckie@outlook.de).\n\n\n# License and Copyright\n\n**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.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothy-bartlett%2Fpymupdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimothy-bartlett%2Fpymupdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothy-bartlett%2Fpymupdf/lists"}