pdfsyntax
PyMuPDF
pdfsyntax | PyMuPDF | |
---|---|---|
8 | 5 | |
420 | 4,053 | |
- | 4.1% | |
8.5 | 9.8 | |
15 days ago | 8 days ago | |
Python | Python | |
MIT License | GNU Affero General Public License v3.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pdfsyntax
- Show HN: PDFSyntax, a Python library to inspect and transform PDF files
-
Show HN: I am building a new Python library to read/write PDF files
I never knew about the J number suffix in python: https://docs.python.org/3/reference/lexical_analysis.html#im... which it would appear is used to represent references: https://github.com/desgeeko/pdfsyntax/blob/main/tests/test_p...
I wish you good luck, this file format has tripped up many, many a developer. It blew up on a pdf I had lying around:
ValueError: could not convert string to float: b'5.0.0'
-
This Week In Python
pdfsyntax – A Python PDF parsing library browse the internal structure of a PDF file
- Show HN: Browse the internal structure of a PDF file
PyMuPDF
- FLaNK Stack for 04 December 2023
-
Converting markdown to pdf in Python
This method is based on the use of the libraries markdown-it-py (conversion from markdown to html) and [PyMuPDF] https://github.com/pymupdf/PyMuPDF) (conversion from html to pdf). A small Python class links them together.
-
Show HN: I am building a new Python library to read/write PDF files
I think you might mean PyMuPDF (https://github.com/pymupdf/PyMuPDF), a Python library built on top of the MuPDF C library (https://mupdf.com/).
PyMuPDF and MuPDF are both available under dual open source AGPL and commercial licenses. They have been around for many years and are under continual development.
[Disclaimer, i work for Artifex, who wrote MuPDF and recently acquired PyMuPDF.]
- M1 Mac: myuPDF install (wheel?)
- legacy install error: PyMuPDF?
What are some alternatives?
pdfplumber - Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
sunfish - Sunfish: a Python Chess Engine in 111 lines of code
ReportLab
djot - A light markup language
mupdf - mirrored from git://git.ghostscript.com/mupdf.git
borb - borb is a library for reading, creating and manipulating PDF files in python.
i7j-rups - RUPS is an acronym for Reading and Updating PDF Syntax. RUPS is a tool built on top of iText® that allows you to look inside a PDF document and browse the different PDF objects and content streams.
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
pdfquery - A fast and friendly PDF scraping library.