Skip to main content

translate-pptx

PyPI License

translate-pptx is a command line tool that translates PowerPoint PPTX files from one language to another.

banner

Usage

translate-pptx my_slides.pptx german

Advanced usage: you can also add a target filename and an LLM name. At the moment, only OpenAI's LLMs are supported.

translate-pptx my_slides.pptx german my_translated_slides.pptx gpt-4o

Under the hood it uses OpenAI's GPT-4o to translate the text in the slides and python-pptx to handle the file-format.

Disclaimer

translate-pptx is a research project aiming at streamlining generation of multi-lingual training materials. Under the hood it uses artificial intelligence / large language models to generate translations. Users are responsible to verify the generated content according to good scientific practice.

[!CAUTION] When using OpenAI's LLMs via translate-pptx, you are bound to the terms of service of the respective companies or organizations. The slides you specify are transferred to their servers and may be processed and stored there. Make sure to not submit any sensitive, confidential or personal data. Also using these services may cost money.

Installation

translate-pptx can be installed using pip:

pip install translate-pptx

Please note that you must set an OPENAI_API_KEY environment variable to use this tool.

Contributing

Feedback and contributions are welcome! Just open an issue and let's discuss before you send a pull request.

Acknowledgements

We acknowledge the financial support by the Federal Ministry of Education and Research of Germany and by Sächsische Staatsministerium für Wissenschaft, Kultur und Tourismus in the programme Center of Excellence for AI-research „Center for Scalable Data Analytics and Artificial Intelligence Dresden/Leipzig", project identification number: ScaDS.AI

Metadata

Release files for translate-pptx 0.1.1

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

Source distribution (sdist)

Source distribution for translate-pptx 0.1.1
File Size Uploaded
translate_pptx-0.1.1.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for translate-pptx 0.1.1
File Interpreter ABI Platform
translate_pptx-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / translate_pptx-0.1.1.tar.gz

Download URL translate_pptx-0.1.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2d1fbae33a4189004e20500593874a2bdf73863be2a9cf0c7c247a779255135d
BLAKE2b-256 checksum
How to use checksums
00154f89f99fde1d3d41f6d800b6f350c26c0a53251043f89917081c87893f7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / translate_pptx-0.1.1-py3-none-any.whl

Download URL translate_pptx-0.1.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b137a6b44d89267cf4d9c94f6734686b4ec02c18c459bf34f221836f20f797cb
BLAKE2b-256 checksum
How to use checksums
1880fde30d68237f53e76882d3ab9bedc53f940352ca19256c6ebd31e0a14722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

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