Home - PraisonAI PPT

PraisonAI PPT

Create beautiful PowerPoint presentations from Bible verses in JSON format with integrated PDF conversion capabilities.

PyPI version Python Version License: MIT

✨ Features

🚀 Quick Start

Installation

# Basic installation
pip install praisonaippt

# With PDF conversion support
pip install praisonaippt[pdf-aspose]

# Or with all PDF features
pip install praisonaippt[pdf-all]

Basic Usage

# Create presentation from default verses.json
praisonaippt

# Create presentation and convert to PDF
praisonaippt -i verses.json --convert-pdf

# Convert existing PPTX to PDF
praisonaippt convert-pdf presentation.pptx

Python API

from praisonaippt import create_presentation, convert_pptx_to_pdf

# Load verses and create presentation
data = load_verses_from_file("verses.json")
result = create_presentation(data, convert_to_pdf=True)

print(f"PPTX: {result['pptx']}")
print(f"PDF: {result['pdf']}")

📋 Key Commands

Presentation Creation

# Basic usage
praisonaippt

# Specify input file
praisonaippt -i my_verses.json

# Custom title and output
praisonaippt -i verses.json -o output.pptx -t "My Title"

# Use built-in examples
praisonaippt --use-example tamil_verses

PDF Conversion

# Convert existing PPTX to PDF
praisonaippt convert-pdf presentation.pptx

# Create PPTX and convert to PDF
praisonaippt -i verses.json --convert-pdf

# Advanced PDF options
praisonaippt -i verses.json --convert-pdf \
  --pdf-options '{"quality":"high","compression":true}'

📄 File Format

JSON Format

{
  "presentation_title": "Your Presentation Title",
  "presentation_subtitle": "Your Subtitle",
  "sections": [
    {
      "section": "Section Name",
      "verses": [
        {
          "reference": "Book Chapter:Verse (Version)",
          "text": "The actual verse text here.",
          "highlights": ["word1", "phrase to highlight"],
          "large_text": {"special_word": 200}
        }
      ]
    }
  ]
}
presentation_title: Your Presentation Title
presentation_subtitle: Your Subtitle

sections:
  - section: Section Name
    verses:
      - reference: Book Chapter:Verse (Version)
        text: The actual verse text here.
        highlights:
          - word1
          - phrase to highlight
        large_text:
          special_word: 200

🔧 PDF Conversion Options

{
  "backend": "auto",                    // "aspose", "libreoffice", "auto"
  "quality": "high",                    // "low", "medium", "high"
  "include_hidden_slides": false,       // Include hidden slides in PDF
  "password_protect": false,            // Password protect PDF
  "password": null,                     // PDF password
  "compression": true,                  // Compress PDF images
  "notes_pages": false,                 // Include notes pages
  "slide_range": null,                  // [start, end] slide range
  "compliance": null                    // "PDF/A", "PDF/UA" compliance
}

📊 Output

The package creates a PowerPoint presentation with:

Slide Formatting:

🎯 Next Steps

📞 Support


Built with ❤️ for creating beautiful Bible verse presentations