Professional DOCX document processing library with AI-ready JSON export, PDF/HTML rendering, and round-trip editing
Project description
DocQuill
Professional DOCX document processing library with AI-ready JSON export, PDF/HTML rendering, and round-trip editing.
Features
- 📄 Full DOCX Parsing - Headers, footers, tables, images, styles, numbering
- 🔄 Round-trip Editing - DOCX → HTML → DOCX with formatting preservation
- 📊 AI-Ready JSON Export - Structured layout data for ML/NLP workflows
- 🖨️ PDF Rendering - Python (ReportLab) or high-performance Rust backend
- 🎨 HTML Export - Static or editable HTML output
- 📝 Placeholder Engine - 20+ placeholder types for document automation
- 🔀 Document Merging - Combine documents with OPC relationship handling
Installation
pip install docquill
For high-performance PDF rendering with Rust:
pip install docquill[rust]
Quick Start
from docquill import Document
# Open and process a document
doc = Document.open("document.docx")
# Export to PDF
doc.to_pdf("output.pdf")
# Export to HTML
doc.to_html("output.html")
# Get AI-ready JSON layout
layout = doc.pipeline()
json_data = layout.to_json()
# Fill placeholders
doc.fill_placeholders({
"company_name": "Acme Corp",
"date": "2024-01-15"
})
doc.save("filled.docx")
Documentation
See the full documentation for:
License
Apache License 2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docquill-0.1.4.tar.gz.
File metadata
- Download URL: docquill-0.1.4.tar.gz
- Upload date:
- Size: 621.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bf949525f37be3e3d7a63e42a104175a4a04064b56d41fde3e324e3b5d9e442
|
|
| MD5 |
d97f78bd51290f0a58e263a56e5db916
|
|
| BLAKE2b-256 |
74e8adf54e6bd84c29a520c3c2b6650368029146b9f03863d7c070bb8ba84cea
|
Provenance
The following attestation bundles were made for docquill-0.1.4.tar.gz:
Publisher:
publish.yml on AddNap/DocQuill
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
docquill-0.1.4.tar.gz -
Subject digest:
4bf949525f37be3e3d7a63e42a104175a4a04064b56d41fde3e324e3b5d9e442 - Sigstore transparency entry: 729191746
- Sigstore integration time:
-
Permalink:
AddNap/DocQuill@e5a5e7a9171df646fcfe1ce0d37614fbc23839c6 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/AddNap
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5a5e7a9171df646fcfe1ce0d37614fbc23839c6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file docquill-0.1.4-py3-none-any.whl.
File metadata
- Download URL: docquill-0.1.4-py3-none-any.whl
- Upload date:
- Size: 723.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
117fe9326200d0ece4ee00635c7ac5dc444c396ee96de3b3e713a681e645811d
|
|
| MD5 |
cc0a45dceca2ff0244e102d26e061c9f
|
|
| BLAKE2b-256 |
64b671dd7aaf554fcc916d901343be571206caf8c9537cf1619dac8945e6ed16
|
Provenance
The following attestation bundles were made for docquill-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on AddNap/DocQuill
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
docquill-0.1.4-py3-none-any.whl -
Subject digest:
117fe9326200d0ece4ee00635c7ac5dc444c396ee96de3b3e713a681e645811d - Sigstore transparency entry: 729191749
- Sigstore integration time:
-
Permalink:
AddNap/DocQuill@e5a5e7a9171df646fcfe1ce0d37614fbc23839c6 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/AddNap
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5a5e7a9171df646fcfe1ce0d37614fbc23839c6 -
Trigger Event:
push
-
Statement type: