Skip to content

v0.6.0 — 100% Permissive Stack, MIT + Commons Clause & Broad Office Support

Choose a tag to compare

@github-actions github-actions released this 26 Nov 05:33
· 4 commits to main since this release

What's New in v0.6.0

100% Permissive Dependency Stack & License Update

  • License: Switched to MIT License with Commons Clause v1.0 (source-available) — free for personal, research, educational, and internal business use; commercial resale / competing hosted SaaS requires a commercial license from hotroso.
  • PDF Engine (pdfplumber + pypdfium2): Replaced PyMuPDF (AGPL-3.0) with MIT-licensed pdfplumber + Apache-2.0/BSD pypdfium2, adding native ruled-table detection for digital PDFs while preserving multi-column clustering, repeated header/footer removal, password support, and high-DPI OCR rendering.
  • Outlook .msg (olefile): Replaced extract-msg (GPL-3.0) with a native OLE2/MAPI .msg parser powered by BSD-2-Clause olefile.
  • Excel Formulas (xlcalculator): Replaced formulas (EUPL-1.2) with MIT-licensed xlcalculator alongside cached Excel values and external LibreOffice recalculation.

Full Format Coverage (from v0.5.0 & v0.6.0)

  • PDF (.pdf) — hybrid native text/tables + automatic OCR on scanned/image-heavy pages
  • Images (.png, .jpg, .jpeg, .webp, .bmp, .tif, .tiff) — EXIF auto-rotation, multi-frame TIFF, PP-StructureV3 / PaddleOCR + Tesseract fallback
  • Word (.docx) — zero-dependency OOXML parsing (headings, nested lists, merged-cell tables, hyperlinks, tracked-deletion filtering, footnotes, --assets)
  • PowerPoint (.pptx) — zero-dependency OOXML parsing (true slide order, reading order, bullets, tables, speaker notes, --assets)
  • Excel (.xlsx, .xlsm) — multi-table sheet splitting, merged cells, 3-tier formula evaluation
  • Email (.eml, Outlook .msg) — headers table, plain/HTML body, quoted replies, attachments & --assets
  • HTML & Tabular (.html, .htm, .csv, .tsv) — clean semantic HTML (code blocks, blockquotes, colspan/rowspan tables) and auto-delimiter CSV/TSV

Quick Install

# Base install (PDF, DOCX, PPTX, Excel, EML, HTML, CSV/TSV)
pip install "git+https://github.com/hotroso/document-to-markdown.git@v0.6.0"

# Recommended: add PaddleOCR + PP-Structure layout/table analysis
pip install "document-to-markdown[ocr] @ git+https://github.com/hotroso/document-to-markdown.git@v0.6.0"

# Optional Outlook .msg support (BSD olefile)
pip install "document-to-markdown[outlook] @ git+https://github.com/hotroso/document-to-markdown.git@v0.6.0"

Quick Usage

# Convert PDF or scanned docs to AI/RAG-ready Markdown (fast CPU mode)
document-to-markdown report.pdf --mode ai --ocr-profile mobile

# Convert PowerPoint with speaker notes and exported slide images
document-to-markdown deck.pptx --assets

Prebuilt Assets

Download standalone executables for Windows (x64 .exe), Linux (x64), and macOS (arm64) (bundling pdfplumber, pypdfium2, openpyxl, olefile, and pytesseract), or install the .whl / .tar.gz packages attached below.