build(deps): move server dependencies to optional
[server]extra (#7)
- Move fastapi/uvicorn from required deps to optional
serverextra to reduce CLI install size- Add friendly ImportError message in CLI
servecommand guiding users to install the extra- Update Dockerfile to export requirements with
--extra server- Update README with server extra install instructions
- Change license from GPL-3.0-or-later to AGPL-3.0-only
Co-authored-by: Claude Opus 4.7 noreply@anthropic.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京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:
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.