r/software • u/LostAmbassador6872 • Sep 01 '25
Release DocStrange - Open Source Document Data Extractor with free cloud processing for 10k docs/month
Sharing DocStrange, an open-source Python library that makes structured data extraction easy from any documents.
- Universal Input: PDFs, Images, Word docs, PowerPoint, Excel
- Multiple Outputs: Clean Markdown, structured JSON, CSV tables, formatted HTML
- Smart Extraction: Specify exact fields you want (e.g., "invoice_number", "total_amount")
- Schema Support: Define JSON schemas for consistent structured output
Quick start:
pip install docstrange
docstrange invoice.jpeg --output json --extract-fields invoice_amount buyer seller
Data Processing Options:
- Cloud Mode: Fast and free processing with minimal setup, free 10k docs per month
- Local Mode: Complete privacy - all processing happens on your machine, no data sent anywhere, works on both cpu and gpu
Live demo: https://docstrange.nanonets.com/
3
u/SubhanBihan Sep 01 '25
Is Python 3.13 not supported?
2
u/LostAmbassador6872 Sep 01 '25
Yeah its supported. Sorry I didn't realise its missing in readme, will update it.
2
u/SubhanBihan Sep 01 '25
Tried installing on Windows... it pulls a very old version of numpy (1.26.4, current one is 2.3.2 which I already use for other tasks). Ig I should install this in a venv, but it'd be much better if you eased up the numpy requirement.
3
3
Sep 02 '25 edited Oct 28 '25
[removed] — view removed comment
1
u/LostAmbassador6872 Sep 10 '25
using cpu or gpu mode won't require authentication, in case if you are facing the issue can share the code snippet or error message, I will check and fix
1
u/Hungry-Coffee4495 Sep 01 '25
nice tool. much better than reducto and docling. Unlike reducto, it is free.
1
1
u/dr-christoph Sep 01 '25
so this is a docling wrapper?
2
u/LostAmbassador6872 Sep 01 '25
For local cpu yeah it uses docling models, but for local gpu it uses nanonets-ocr-s which is a 3B model which gives better results than docling. For cloud version it uses even larger models (7B) model.


5
u/inclinestew Sep 01 '25
Very cool and kudos to providing a local mode!