| Name | Modified | Size | Downloads / 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.pcexZIP archive. - Allow extraction, validation, export, translation, Markdown/EPUB rendering, and PDF patching to run as independent workflow stages. Rendering and translation accept either a
PDFCraftExtractionobject or a.pcexpath. - 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, whilemanifest.jsoncarries format, producer, creation, and document metadata. - Keep one-shot PDF conversions efficient by passing an unpacked extraction workspace internally, while optionally exporting a
.pcexthroughextraction_pathfor reuse or transfer.
API Migration
- Replace
DocumentPackagewithPDFCraftExtraction,translate_package()withtranslate_extraction(), andpatch_pdf_with_package()withpatch_pdf_with_extraction(). - Rename the public package transformer types to
ExtractionTransformerandChapterExtractionTransformer. - Split the former
package_pathoption intoanalysing_pathfor retained OCR diagnostics andextraction_pathfor a portable.pcexartifact. - Ordinary extraction directories are no longer accepted as public backend inputs; use a
.pcexpath or an openedPDFCraftExtractioninstead.
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