Skip to main content

Advanced PDF generation with Enhanced ReportLab Engine v3.0, comprehensive analysis tools, and professional document creation

Project description

๐Ÿ“„ WOT-PDF - Advanced PDF Generation v1.1.0

PyPI version Python Support License: MIT

Professional PDF generation with Enhanced ReportLab Engine v3.0 + Typst dual-engine architecture

๐ŸŽ‰ NEW in v1.1.0 - Enhanced ReportLab Engine v3.0

โœ… Major Improvements

  • Fixed TOC Generation: Proper table of contents with hierarchical numbering
  • Enhanced Emoji Support: Native Unicode with SegoeUIEmoji font registration
  • Professional Styling: 6-level heading system with business-ready themes
  • Performance Optimized: 32x faster than Typst for business documents (0.02s)
  • Perfect Compatibility: All Canvas API issues resolved

๐Ÿ“Š Quality Results

  • File Size: Optimized 30KB output (2x larger but feature-rich)
  • Features: Complete TOC + Hierarchical Numbering + Emoji Support
  • Speed: Lightning-fast 0.02s generation time
  • Quality: Business-ready professional output

โœจ Core Features

๐ŸŽฏ Dual PDF Engines

  • Enhanced ReportLab v3.0: Performance leader for business documents โšก
  • System Typst CLI: Quality leader for academic documents ๐ŸŽจ
  • Intelligent Routing: Automatic engine selection based on content

๐Ÿ“š Professional Document Generation

  • Convert markdown to business-ready PDFs
  • Complete table of contents with numbering
  • Full emoji and Unicode support ๐Ÿ˜Š๐Ÿš€๐Ÿ“Š
  • 6-level professional heading system
  • Rich CLI interface
  • GUI frontend (optional)
  • Professional typography

๐Ÿš€ Quick Start

Installation

pip install wot-pdf

Basic Usage

# Generate single PDF from file
wot-pdf generate --input document.md --output result.pdf --template technical

# Create professional book from directory
wot-pdf book ./docs/ book.pdf --template technical

# Analyze content for optimal engine selection
wot-pdf analyze document.md

# List available templates
wot-pdf templates

# Show detailed template information
wot-pdf template-info technical

# GUI mode (if installed)
wot-pdf-gui

Python API

from wot_pdf import PDFGenerator, generate_book

# Simple generation
generator = PDFGenerator()
result = generator.generate("document.md", "output.pdf")

# Book generation
result = generate_book(
    input_dir="./docs/",
    output_file="book.pdf", 
    template="technical"
)

๐Ÿ“– Templates

Template Best For Features
academic Research papers Citations, bibliography, equations
technical Documentation Code blocks, diagrams, TOC
corporate Business reports Professional styling, charts
educational Learning materials Exercises, callouts, examples
minimal Simple documents Clean, fast generation

๐Ÿ› ๏ธ Installation Options

Minimal Installation

pip install wot-pdf

With Development Tools

pip install wot-pdf[dev]

With GUI Support

pip install wot-pdf[gui]

With Documentation Tools

pip install wot-pdf[docs]

๐Ÿ“‹ Requirements

  • Python: 3.8+
  • System Typst CLI (recommended): Install from typst.app
  • ReportLab: Automatically installed (fallback engine)

๐ŸŽฏ Use Cases

โœ… Technical Documentation

  • API references
  • User manuals
  • Installation guides

โœ… Academic Publishing

  • Research papers
  • Thesis documents
  • Conference proceedings

โœ… Business Reports

  • Quarterly reports
  • Project documentation
  • Presentation materials

โœ… Educational Content

  • Course materials
  • Tutorials
  • Reference guides

๐Ÿ“Š Comparison

Feature wot-pdf pandoc WeasyPrint
Typst Integration โœ… โŒ โŒ
Fallback Engine โœ… โŒ โŒ
Professional Templates โœ… Limited Limited
Book Generation โœ… Manual Manual
GUI Interface โœ… โŒ โŒ
CLI Interface โœ… โœ… Limited

๐Ÿ”ง Configuration

Create .wot-pdf.yaml in your project:

default_template: technical
output_directory: ./generated/
typst:
  enabled: true
  timeout: 60
reportlab:
  compression: true
  embed_fonts: true

๐Ÿค Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

๐Ÿ“œ License

MIT License - see LICENSE file for details.

๐Ÿ”— Links


Made with โค๏ธ by the Work Organizing Tools team

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

wot_pdf-1.1.0.tar.gz (77.3 kB view details)

Uploaded Source

Built Distribution

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

wot_pdf-1.1.0-py3-none-any.whl (88.1 kB view details)

Uploaded Python 3

File details

Details for the file wot_pdf-1.1.0.tar.gz.

File metadata

  • Download URL: wot_pdf-1.1.0.tar.gz
  • Upload date:
  • Size: 77.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for wot_pdf-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5286f1262d990e996d7185b843e184f7124919b86994b316a11e02a7368bb0e5
MD5 c5dad1ed81ff580bcfe43154aac536bb
BLAKE2b-256 aff89d4f941ca4dbb45bd5066699629fd04b40c40b17835520485a6b07a9bc46

See more details on using hashes here.

File details

Details for the file wot_pdf-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: wot_pdf-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 88.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for wot_pdf-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b241087c089aac8c654177ad9be523a9fd2925652f1b4401a125c9f3aac22707
MD5 4627f2866487dd88b2ac844c3e04290e
BLAKE2b-256 93b4a1c00c0506538cd668eec2b5b485e951d318deb79e7a6d7fcbff725a0cd0

See more details on using hashes here.

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