luisleo526/doc2mark

AI-powered Python library that converts any document (PDF, Word, Excel, PowerPoint, HTML) to clean Markdown while preserving complex tables and layouts using AI-Powered OCR technology.

57
/ 100
Established

Supports pluggable OCR providers (OpenAI, Google Vertex AI, Tesseract) with per-call token tracking and specialized prompt templates for tables, forms, and handwriting. The unified API handles batch processing with parallel execution across 20+ formats, including legacy Office formats via LibreOffice, with configurable table output styles (HTML with colspan/rowspan, markdown grid, styled HTML).

47 stars and 1,332 monthly downloads. Used by 1 other package. Available on PyPI.

Maintenance 10 / 25
Adoption 16 / 25
Maturity 24 / 25
Community 7 / 25

How are scores calculated?

Stars

47

Forks

3

Language

Python

License

MIT

Last pushed

Mar 04, 2026

Monthly downloads

1,332

Commits (30d)

0

Dependencies

11

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/luisleo526/doc2mark"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.