🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

docquill

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docquill

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

pipPyPI
Version
0.1.7
Maintainers
1

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

Keywords

ai

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts