{"repo":"desgeeko/pdfsyntax","free":true,"listed":false,"github":"https://github.com/desgeeko/pdfsyntax","clone":"git clone https://github.com/desgeeko/pdfsyntax.git","description":"A Python library to inspect and modify the internal structure of a PDF file","language":"Python","stars":1012,"topics":["python","pdf","parser","pdfsyntax","api","library","syntax","inspection","read","transformation"],"license":"MIT","category":"media-processing","readme_excerpt":"PDFSyntax ========= A Python library to inspect and transform the internal structure of PDF files Introduction The project is focused on chapter 7 (\"Syntax\") of the Portable Document Format (PDF) Specification. It implements all the detailed document structure management down to the byte level for inspection and transformation use cases (access to metadata, rotation,...). - Internal functions are being exposed as an API toolkit for PDF read/write operations, - Some specific functions are additionally exposed as a command line interface for use in a terminal or a browser. PDFSyntax is lightweight (no dependencies) and written from scratch in pure Python, with a focus on simplicity and immutability. It favors non-destructive edits allowed by the PDF Specification: by default incremental updates are added at the end of the original file (you may rewind or squash all revisions into a single one). Project status WORK IN PROGRESS! This is BETA quality software. The API may change anytime. Next on TO-DO list: - Cut & append pages - Lossless compression - More filters - Improve text extraction - Augment text extraction with layout detection Installation You can install from PyPI: pip install pdfsyntax CLI overview Please refer to the CLI README for details. The general form of the CLI usage is: pdfsyntax COMMAND FILE Or this longer form if you installed from source: python3 -m pdfsyntax COMMAND FILE You can get quick insights on a PDF file with these commands: - overview outputs text","default_branch":null,"files":null,"tree":[],"storefront":"/r/desgeeko","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/desgeeko/pdfsyntax/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}