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.3.tar.gz (621.7 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.3-py3-none-any.whl (723.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: docquill-0.1.3.tar.gz
  • Upload date:
  • Size: 621.7 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.3.tar.gz
Algorithm Hash digest
SHA256 72c4fdfcd44cc54895e7e09062d7f12e6ecf0cc0bce6c2fe5886678cfd8c51ea
MD5 099bbf0cca07d25d3f08716c48c53f31
BLAKE2b-256 7bb727c91872e434ee91a2dec7b87da348014b6e1672ab70c37dfe30d05147a7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: docquill-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 723.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6aa5be77640a6d2e7844a5b7dbf0af405e65250c382e5c2e789ac4b6952fd8d3
MD5 732aac6335b63eb841788d82011d71e9
BLAKE2b-256 b22fae89d2808ae02fcc0c8423d6f7b31979d65a47f2c50dc78932f605c0c40b

See more details on using hashes here.

Provenance

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