Skip to content

About

✨ TPPT (Typed Python PowerPoint Tool) ✨

A modern Python library for creating beautiful PowerPoint presentations with code! 🚀

Quick Start

import tppt

(
    tppt.Presentation.builder()
    .slide(
        lambda slide: slide.BlankLayout()
        .builder()
        .text(
            "Hello, World!",
            left=(1, "in"),
            top=(1, "in"),
            width=(5, "in"),
            height=(2, "in"),
        )
    )
    .build()
    .save("simple.pptx")
)

Features

  • 🛡️ Type-Safe Development

    • Full type hints for better IDE support
    • Catch errors before runtime
    • Enhanced code maintainability
  • 📝 Declarative PowerPoint Creation

    • Write presentations like code
    • Clean and readable syntax
    • Focus on content, not formatting
  • 🎨 Smart Templates

    • Type-safe template system
    • Reusable slide components
    • Extensible helper functions
    • Build your own presentation tools
  • 📊 Data Integration

    • Seamless pandas/polars DataFrame support

Getting Started

To get started with TPPT, check out the Installation guide and Usage documentation.

License

TPPT is licensed under the MIT License.