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.6.tar.gz (2.0 MB 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.6-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file docquill-0.1.6.tar.gz.

File metadata

  • Download URL: docquill-0.1.6.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for docquill-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b036cbdbadba9f716e2ffddb67246639c7d59c54b9e20ec71c3a4e00e889c1c1
MD5 79d2a365f79b1ecb816abe0b1dda7092
BLAKE2b-256 12c7eb54250ed27ef329fff2ad92efb3734d9c091d49b9f98042e16c993cab7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for docquill-0.1.6.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.6-py3-none-any.whl.

File metadata

  • Download URL: docquill-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5da046a06f073b21d64df055fe985ef0124aabb07d0a84f3ae9f50f4b6058d82
MD5 01ee72192995eff2a7d86a12568d6824
BLAKE2b-256 c23a18dc30239891aa47ca4e346b1d80b4c243431bdee407875a8d9034a03887

See more details on using hashes here.

Provenance

The following attestation bundles were made for docquill-0.1.6-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