GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing awesome-python.com — Python File Format Processing Libraries - Awesome Python
Listed in editorial order, grouped by use case. Click a column header to re-sort the whole list. Press / to search. Tags open their category. Click a row for details. Search and filterResults
No projects match your search. Try a broader term, or . File Format Processing guidepypdf is a pure-Python PDF library for splitting, merging, cropping, and transforming pages, and it adds passwords too. To merge files, pyelftools parses ELF files and DWARF debug info in pure Python. Pass an open file to MarkItDown converts PDF, Word, Excel, PowerPoint, HTML, and more into Markdown for LLMs and text analysis. Its README says it may not be the best option for high-fidelity conversions that people read. Don't pass untrusted input straight to it, and when you only read local files, call Docling is for documents where layout matters: it understands page layout, reading order, and tables, and runs OCR on scanned PDFs. It converts each file into a pypandoc wraps pandoc, which converts between Markdown, Word, LaTeX, HTML, and many other formats in both directions. It needs pandoc on your machine, and the openpyxl reads and writes Excel workbooks, so it's the one to use when the file already exists. Install defusedxml when you open spreadsheets from other people, since openpyxl doesn't guard against XML attacks by default. XlsxWriter can't read or modify existing files. In return, it supports more Excel features than the alternatives, and its files are close to what Excel itself writes. python-docx works on python-pptx creates and updates PowerPoint files. A deck's look comes from its theme, slide master, and layouts, so open a template deck with PyMuPDF is a high-performance library for extracting, converting, and editing PDFs and other documents, built on MuPDF, and it also renders pages to images. It's available under the AGPL or a commercial license. For reading text and editing pages without that condition, use pypdf or pdfminer.six. ReportLab creates PDFs directly from Python, like reports generated on a web server, with charts and tables. Lay out documents with Platypus: create a document from a pdfminer.six extracts text from a PDF's source, with the exact location, font, and color of each piece, but it can't write PDFs. The simplest start is WeasyPrint turns HTML and CSS into PDFs, like reports, invoices, and tickets, with a layout engine built for pagination instead of a browser engine. It runs no JavaScript. Call markdown-it-py follows the CommonMark spec, and plugins add syntax or replace existing rules. Python-Markdown implements John Gruber's original Markdown. It's not a CommonMark implementation, and its docs say to look elsewhere if you want one. Pick it for its extension API and bundled extensions, like tables, fenced code blocks, and a table of contents. Mistune is a fast parser with renderers and plugins, compatible with "sane CommonMark rules". tomllib comes with Python and parses TOML, but doesn't write it. With untrusted input, limit its size, since a malicious TOML string can use a lot of CPU and memory. PyYAML parses and emits YAML. Load it with Tablib is a format-agnostic tabular dataset library. Markdown your users write can carry HTML, so give each parser its safe setting. With markdown-it-py, use the Contribute Know a project that belongs here?Tell us what it does and why it stands out. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||