Skip to main content

Professional DOCX document processing library with AI-ready JSON export, PDF/HTML rendering, and round-trip editing

Project description

DocQuill

PyPI version License

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

docquill-0.1.4.tar.gz (621.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docquill-0.1.4-py3-none-any.whl (723.0 kB view details)

Uploaded Python 3

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

Hashes for docquill-0.1.4.tar.gz
Algorithm Hash digest
SHA256 4bf949525f37be3e3d7a63e42a104175a4a04064b56d41fde3e324e3b5d9e442
MD5 d97f78bd51290f0a58e263a56e5db916
BLAKE2b-256 74e8adf54e6bd84c29a520c3c2b6650368029146b9f03863d7c070bb8ba84cea

See more details on using hashes here.

Provenance

The following attestation bundles were made for docquill-0.1.4.tar.gz:

Publisher: publish.yml on AddNap/DocQuill

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for docquill-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 117fe9326200d0ece4ee00635c7ac5dc444c396ee96de3b3e713a681e645811d
MD5 cc0a45dceca2ff0244e102d26e061c9f
BLAKE2b-256 64b671dd7aaf554fcc916d901343be571206caf8c9537cf1619dac8945e6ed16

See more details on using hashes here.

Provenance

The following attestation bundles were made for docquill-0.1.4-py3-none-any.whl:

Publisher: publish.yml on AddNap/DocQuill

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page