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

Release files for hi-pdf-parser 0.0.6

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.6
File Size Uploaded
hi_pdf_parser-0.0.6.tar.gz 730.1 kB Details

Built distribution (wheel)

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

Total release size: 771.5 kB

Release files / hi_pdf_parser-0.0.6.tar.gz

Download URL hi_pdf_parser-0.0.6.tar.gz
Size 730.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6a1733b4d1dec1b4f947b0827c6d55d01e5820f52ba0b143c649efefe0857fad
BLAKE2b-256 checksum
How to use checksums
ad971ed490925f040e33febbbb8001a4bda838687b46f975e9d12dffe2daedd4
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 Sep 8, 2026.

Transparency log

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

Download URL hi_pdf_parser-0.0.6-py3-none-any.whl
Size 41.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8946c39c9e1739761f5de0251ec2fa229cc10149ce7b63f51b3b810e3f6ea74b
BLAKE2b-256 checksum
How to use checksums
60936d2cdae5f388bf90eb2f44b00aaa17d85fb435945231aa0d44b26abd4314
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 Sep 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

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