chore(release): bump version to 0.0.6
A HTTP server converting PDF file to text blocks.
This project uses PyMuPDF and complies with its open-source licensing obligations.
To use PDF Parser, simply install hi-pdf-parser from your package manager, e.g. pip:
hi-pdf-parser
pip install hi-pdf-parser
Install the optional server dependencies when running the HTTP server:
pip install 'hi-pdf-parser[server]'
The official command is hi-pdf-parser.
hi-pdf-parser parse report.pdf --out ./out hi-pdf-parser parse a.pdf b.pdf --out ./out hi-pdf-parser serve --host 0.0.0.0 --port 8000
parse writes Markdown, assets, manifest, and logs under <out>/<stem>/, and emits one JSON envelope per input on stdout. serve starts the HTTP API server and requires the server extra.
parse
<out>/<stem>/
serve
server
Install uv, then:
uv sync --all-groups --extra server
To run the checks on-demand repeatedly until it passes. If you see mypy errors you might need to provide typing hints where requested.
uv run pre-commit run --all-files
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
PDF Parser
A HTTP server converting PDF file to text blocks.
This project uses PyMuPDF and complies with its open-source licensing obligations.
Installation
To use PDF Parser, simply install
hi-pdf-parserfrom your package manager, e.g. pip:Install the optional server dependencies when running the HTTP server:
CLI
The official command is
hi-pdf-parser.parsewrites Markdown, assets, manifest, and logs under<out>/<stem>/, and emits one JSON envelope per input on stdout.servestarts the HTTP API server and requires theserverextra.Developing
Prepare
Install uv, then:
Coding Style Guidelines
To run the checks on-demand repeatedly until it passes. If you see mypy errors you might need to provide typing hints where requested.