Download Latest Version v2.6.7 source code.zip (25.8 MB)
Home / v2.1.0
Name Modified Size InfoDownloads / Week
Parent folder
pdf_craft-2.1.0-py3-none-any.whl 2026-09-05 190.8 kB
pdf_craft-2.1.0-py3-none-any.whl.publish.attestation 2026-09-05 9.6 kB
pdf_craft-2.1.0.tar.gz 2026-09-05 144.1 kB
pdf_craft-2.1.0.tar.gz.publish.attestation 2026-09-05 9.6 kB
README.md 2026-09-05 2.1 kB
v2.1.0 source code.tar.gz 2026-09-05 18.8 MB
v2.1.0 source code.zip 2026-09-05 18.9 MB
Totals: 7 Items   38.1 MB 0

PDF Craft v2.1.0

What's Changed

Portable PDFCraftExtraction Artifacts

  • Introduce PDFCraftExtraction, a public, source-mapped intermediate document that can be exchanged as a portable .pcex ZIP archive.
  • Allow extraction, validation, export, translation, Markdown/EPUB rendering, and PDF patching to run as independent workflow stages. Rendering and translation accept either a PDFCraftExtraction object or a .pcex path.
  • Validate archive structure, format version, required files, XML content, page and bounding-box mappings, and asset references before an extraction is used.
  • Make downstream operations depend only on extraction contents. Page geometry now lives in pages.xml, while manifest.json carries format, producer, creation, and document metadata.
  • Keep one-shot PDF conversions efficient by passing an unpacked extraction workspace internally, while optionally exporting a .pcex through extraction_path for reuse or transfer.

API Migration

  • Replace DocumentPackage with PDFCraftExtraction, translate_package() with translate_extraction(), and patch_pdf_with_package() with patch_pdf_with_extraction().
  • Rename the public package transformer types to ExtractionTransformer and ChapterExtractionTransformer.
  • Split the former package_path option into analysing_path for retained OCR diagnostics and extraction_path for a portable .pcex artifact.
  • Ordinary extraction directories are no longer accepted as public backend inputs; use a .pcex path or an opened PDFCraftExtraction instead.

Documentation

  • Add complete English and Chinese field-level references for PDFCraftExtraction format version 1, linked from the corresponding README.
  • Expand the README conversion examples and refresh the English and Chinese website previews.

See #419, #420, and #421 for the main implementation and format-reference work.

Full Changelog: https://github.com/oomol-lab/pdf-craft/compare/v2.0.2...v2.1.0

Source: README.md, updated 2026-09-05