Metadata-Version: 2.3
Name: pptxlib
Version: 0.2.6
Summary: Automate Microsoft PowerPoint operations. Create, modify, and manage PowerPoint presentations programmatically with a simple and intuitive interface
Keywords: automation,com,microsoft,office,powerpoint,pptx,presentation,win32com,windows
Author: daizutabi
Author-email: daizutabi <daizutabi@gmail.com>
License: MIT License
         
         Copyright (c) 2024 Daizu
         
         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the "Software"), to deal
         in the Software without restriction, including without limitation the rights
         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         copies of the Software, and to permit persons to whom the Software is
         furnished to do so, subject to the following conditions:
         
         The above copyright notice and this permission notice shall be included in all
         copies or substantial portions of the Software.
         
         THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         SOFTWARE.
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Text Processing :: Markup
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: Typing :: Typed
Requires-Dist: pywin32
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: matplotlib>=3.10 ; extra == 'figures'
Requires-Dist: pillow>=11 ; extra == 'images'
Requires-Python: >=3.11
Project-URL: Documentation, https://github.com/daizutabi/pptxlib
Project-URL: Issues, https://github.com/daizutabi/pptxlib/issues
Project-URL: Source, https://github.com/daizutabi/pptxlib
Provides-Extra: figures
Provides-Extra: images
Description-Content-Type: text/markdown

# pptxlib

[![PyPI Version][pypi-v-image]][pypi-v-link]
[![Python Version][python-v-image]][python-v-link]
[![Build Status][GHAction-image]][GHAction-link]
[![Coverage Status][codecov-image]][codecov-link]

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

```python
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

```bash
pip install pptxlib
```

Optional extras:

- For image support (Pillow):

```bash
pip install "pptxlib[images]"
```

- For Matplotlib figure export:

```bash
pip install "pptxlib[figures]"
```

## Requirements

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

<!-- Badges -->
[pypi-v-image]: https://img.shields.io/pypi/v/pptxlib.svg
[pypi-v-link]: https://pypi.org/project/pptxlib/
[python-v-image]: https://img.shields.io/pypi/pyversions/pptxlib.svg
[python-v-link]: https://pypi.org/project/pptxlib
[GHAction-image]: https://github.com/daizutabi/pptxlib/actions/workflows/ci.yaml/badge.svg?branch=main&event=push
[GHAction-link]: https://github.com/daizutabi/pptxlib/actions?query=event%3Apush+branch%3Amain
[codecov-image]: https://codecov.io/github/daizutabi/pptxlib/coverage.svg?branch=main
[codecov-link]: https://codecov.io/github/daizutabi/pptxlib?branch=main
