Skip to main content

pptx-tools

Build Status MIT License

Install

Suport only python3.

pip install pptx-tools

Quick Example

Create Google Application Credentials files and set

export GOOGLE_APPLICATION_CREDENTIALS=/PATH/TO/JSON

After that,

slide-add-voice <PATH-TO-YOUR-AWESOME-SLIDE>

You can change the synthesized voice by specifying the --voice-name as shown below.

slide-add-voice pptx_tools/data/hello.pptx --voice-name en-US-Wavenet-C

In addition, you can listen to the voice samples available for use with Google Text-to-Speech at the following URL: https://cloud.google.com/text-to-speech/docs/voices

Slide Video Formatter Command

The slide-video-formatter command is a utility program allowing users to format videos within PowerPoint presentations by specifying the vcodec and crf.

slide-video-formatter <YOUR-AWESOME-SLIDE> --out /tmp/tmp.pptx --vcodec libx264 --crf 28

Q & A

Q: What happens to the slide transition time when both a video file and a synthesized voice are present on the slide?

A: The transition time for the slide will be based on whichever is longer between the duration of the synthesized voice and the duration of the video.

Release files for pptx-tools 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pptx-tools 0.1.10
File Size Uploaded
pptx-tools-0.1.10.tar.gz 51.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pptx-tools 0.1.10
File Interpreter ABI Platform
pptx_tools-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 104.9 kB

Release files / pptx-tools-0.1.10.tar.gz

Download URL pptx-tools-0.1.10.tar.gz
Size 51.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5a0036c95e9c169f68510e2eb066fa8e99074fb0a988834357bdb91e64d01ee0
BLAKE2b-256 checksum
How to use checksums
f2fa6d2d5f95448fbdb49e5fc61d3457a939140da0bf8a1a037f5eeff26de091
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / pptx_tools-0.1.10-py3-none-any.whl

Download URL pptx_tools-0.1.10-py3-none-any.whl
Size 53.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e43505b676f41901fd6aaa4dd01c36cd00f17dd4fd29a0c54aacf384849c0a3
BLAKE2b-256 checksum
How to use checksums
7d54ecffee8a4cb1db092228e7af7a06f6e2545e07c90848789326a7398b2088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page