pptcom

Use Microsoft PowerPoint within Python with the help of COM


Keywords
com, powerpoint, python
License
MIT
Install
pip install pptcom==0.1

Documentation

pptcom

PyPi Version Conda Version

Use Microsoft PowerPoint within Python with the help of COM

Installation

pip install pptcom
conda install -c mrossi pptcom

Usage

You can export the slides of a PowerPoint-presentation:

import pptcom

with pptcom.File('presentation.pptx') as pptfile:
    pptfile.export('png')

Development

Building

It is recommended to use conda-build for building the package. Due to the required packages for testing you need to execute the follwing command inside the repository folder to successfully build the package:

conda-build conda.recipe conda.recipe -c defaults -c conda-forge

Testing

For testing purposes python-pptx is used, after an installation of this package you can test the package with pytest.