Skip to main content

Automate Microsoft PowerPoint operations. Create, modify, and manage PowerPoint presentations programmatically with a simple and intuitive interface

Project description

pptxlib

PyPI Version Python Version Build Status Coverage Status

A Python library for automating Microsoft PowerPoint operations.

Overview

pptxlib is a high-level Python library that provides a simple and intuitive interface for automating Microsoft PowerPoint operations. It allows you to create, modify, and manage PowerPoint presentations programmatically.

Features

  • Create and manage PowerPoint presentations
  • Add and modify slides
  • Work with shapes, tables, and charts
  • Customize text, colors, and formatting
  • Automate presentation generation
  • Support for Windows platforms

Quick Start

from pptxlib import App

app = App()
# Optional: keep the window minimized (PowerPoint doesn't allow hiding the UI)
app.minimize()
# Or create a presentation without opening a window
prs = app.presentations.add(with_window=False)
slide = prs.slides.add()
shape = slide.shapes.add("Rectangle", 100, 100, 200, 100)

Installation

pip install pptxlib

Optional extras:

  • For image support (Pillow):
pip install "pptxlib[images]"
  • For Matplotlib figure export:
pip install "pptxlib[figures]"

Requirements

  • Windows operating system
  • Microsoft PowerPoint
  • Python 3.11 or higher

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

pptxlib-0.2.8.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

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

pptxlib-0.2.8-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file pptxlib-0.2.8.tar.gz.

File metadata

  • Download URL: pptxlib-0.2.8.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pptxlib-0.2.8.tar.gz
Algorithm Hash digest
SHA256 f33a63726fae7ff5e991c9779c13435d9186c9b7502dc6438ce0f324bd809cc7
MD5 20b5f124783f79c15325d5c51a5a38f9
BLAKE2b-256 f3120e629af4f4f3535a79fd0682e18f66f3d4c65f3544b9ffeda979dff9fa8f

See more details on using hashes here.

File details

Details for the file pptxlib-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: pptxlib-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pptxlib-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 120b111de7aaf28dc5b6665db1820a2b332482556cc94d07f6089179b1c7b500
MD5 0fef449778b6841f198fb7de23747db4
BLAKE2b-256 a6a0804428321a79c28b7cd86929374fd7b5e6ec3a570340d0fec1647d801be0

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