Python SDK for DeepL translation API
Top 32.2% on sourcepulse
This Python library provides a convenient interface to the DeepL API for text and document translation, as well as text rephrasing. It is designed for developers building applications that require high-quality, AI-powered language translation, offering features like formality control, glossary support, and document translation in various formats.
How It Works
The library interacts with the DeepL API via HTTP requests, abstracting the complexities of API calls. It supports text translation with optional source language detection, formality adjustment, and context/glossary integration. Document translation is handled by uploading files, polling for completion, and downloading the translated output. The library also exposes the "Write API" for text rephrasing with style and tone options.
Quick Start & Requirements
pip install --upgrade deepl
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
python3-cachecontrol
to resolve a ModuleNotFoundError
.1 month ago
Inactive