hpdft: PDF parsing library and CLI for text, layout, diff, images, and forms
hpdft is a Haskell library and command-line tool for parsing PDF files.
The library exposes document loading, geometry- and tagged-PDF text extraction,
page-level paragraph regions, paragraph-level diff, image XObject export, and
Form XObject extraction to standalone PDFs.
The hpdft executable provides the same features for shell workflows.
See docs/library.md for a usage guide and examples/ for sample programs.
[Skip to Readme]
Modules
- PDF
- PDF.CFF
- PDF.Character
- PDF.Cmap
- PDF.ContentStream
- PDF.Definition
- PDF.Diff
- PDF.Document
- PDF.DocumentStructure
- PDF.Encrypt
- PDF.Error
- PDF.FormExtract
- PDF.Image
- PDF.Interpret
- PDF.Layout
- PDF.Matrix
- PDF.Object
- PDF.OpenType
- PDF.Outlines
- PDF.PDFIO
- PDF.Page
- PDF.Structure
- PDF.Text
- PDF.Type1
Downloads
- hpdft-0.4.6.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.4.6.0, 0.4.6.1, 0.4.6.2, 0.4.6.3, 0.4.6.4, 0.4.7.0 (info) |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | array (>=0.5 && <0.6), attoparsec (>=0.14.4 && <0.15), base (>=4.20.0 && <4.23), binary (>=0.8.9 && <0.9), bytestring (>=0.11.5 && <0.13), containers (>=0.7 && <0.9), crypton (>=0.34 && <0.36), deepseq (>=1.4.8 && <1.6), directory (>=1.3.9 && <1.4), dlist (>=1.0 && <1.1), file-embed (>=0.0.16 && <0.1), filepath (>=1.5.2 && <1.6), hpdft, memory (>=0.18.0 && <0.19), optparse-applicative (>=0.18.1 && <0.19), parallel (>=3.2.2 && <3.4), parsec (>=3.1.18 && <3.2), regex-base (>=0.94.0 && <0.95), regex-tdfa (>=1.3.2 && <1.4), semigroups (>=0.20 && <0.21), terminal-size (>=0.3 && <0.4), text (>=2.1.2 && <2.2.2), utf8-string (>=1.0.2 && <1.1), zlib (>=0.7.1 && <0.8) [details] |
| License | MIT |
| Author | Keiichiro Shikano |
| Maintainer | k16.shikano@gmail.com |
| Uploaded | by keiichiroShikano at 2026-07-05T14:42:35Z |
| Category | |
| Home page | https://github.com/k16shikano/hpdft |
| Source repo | head: git clone https://github.com/k16shikano/hpdft |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Executables | page-api, extract-text, interpret-page, hpdft |
| Downloads | 3928 total (15 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs not available [build log] All reported builds failed as of 2026-07-05 [all 2 reports] |