Skip to main content

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-parser from your package manager, e.g. pip:

pip install hi-pdf-parser

Install the optional server dependencies when running the HTTP server:

pip install 'hi-pdf-parser[server]'

CLI

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.

Developing

Prepare

Install uv, then:

uv sync --all-groups --extra server

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.

uv run pre-commit run --all-files

Metadata

Release files for hi-pdf-parser 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hi-pdf-parser 0.0.5
File Size Uploaded
hi_pdf_parser-0.0.5.tar.gz 738.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hi-pdf-parser 0.0.5
File Interpreter ABI Platform
hi_pdf_parser-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 780.2 kB

Release files / hi_pdf_parser-0.0.5.tar.gz

Download URL hi_pdf_parser-0.0.5.tar.gz
Size 738.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c9c8ab079a3265ecbba7cca5a8d60f114774c8af9967e0702ef916cc319f3a3b
BLAKE2b-256 checksum
How to use checksums
703585fc41bfdc934a57807c95547f64d1e05ad8315064cbc17c474168f34de9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release files / hi_pdf_parser-0.0.5-py3-none-any.whl

Download URL hi_pdf_parser-0.0.5-py3-none-any.whl
Size 41.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be9cdf3b4daa61e4d99e9d71207a715cf0b5abdebb793b85cf69f0211056dbde
BLAKE2b-256 checksum
How to use checksums
bd0af3a009170d684ce10a3db06179aed833a67266f0618a868ece7df0deed04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.6

2 release files

This release

0.0.5 This release

2 release files

0.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page