translate-pptx uses LLMs to translate PowerPoint slides.
Project description
translate-pptx
translate-pptx is a command line tool that translates PowerPoint PPTX files from one language to another.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file translate_pptx-0.1.1.tar.gz.
File metadata
- Download URL: translate_pptx-0.1.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d1fbae33a4189004e20500593874a2bdf73863be2a9cf0c7c247a779255135d
|
|
| MD5 |
3e65a9b86664ff686f46129717249d41
|
|
| BLAKE2b-256 |
00154f89f99fde1d3d41f6d800b6f350c26c0a53251043f89917081c87893f7e
|
File details
Details for the file translate_pptx-0.1.1-py3-none-any.whl.
File metadata
- Download URL: translate_pptx-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b137a6b44d89267cf4d9c94f6734686b4ec02c18c459bf34f221836f20f797cb
|
|
| MD5 |
2d280a733b1b936496c1445ccd400c8d
|
|
| BLAKE2b-256 |
1880fde30d68237f53e76882d3ab9bedc53f940352ca19256c6ebd31e0a14722
|