Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. What you paste stays in this tab. It is never sent to Wirestack or saved.
Version 1.33.0 of DeepL's Python library (deepl) came out on November 2, 2026. It adds the Admin API, spoken terms and style profiles. The release notes say no public API is removed, but some behaviour changes:
Translator is deprecated in favour of DeepLClient. Creating a Translator now gives a DeprecationWarning, and it will be removed in the next major version.
HTTP 401 responses now raise AuthorizationException, and 404 responses raise the new NotFoundException. Before, both raised DeepLException. Both are subclasses of DeepLException, so an existing except deepl.DeepLException still catches them. Glossary functions keep raising GlossaryNotFoundException, now a subclass of NotFoundException.
translate_text_with_glossary() is deprecated: use translate_text() with the glossary parameter.
Also deprecated: GlossaryNotFoundException, auth_key_is_free_account(), the Language constants and some multilingual glossary helpers. Each one names its replacement in the release notes.
Prerequisites
A DeepL API key in DEEPL_AUTH_KEY
Python 3.9 or newer (the PyPI page for deepl 1.33.0 says >=3.9)
Steps
Upgrade the library:
Shell
pip install deepl==1.33.0
Replace deepl.Translator(auth_key) with deepl.DeepLClient(auth_key).
Check any except deepl.DeepLException code that looked for a bad key or a missing resource, and handle AuthorizationException and NotFoundException where you need to.
Replace translate_text_with_glossary() calls with translate_text(..., glossary=...).
Test it
Run your app with Python warnings shown (python -W default your_app.py) and check no DeprecationWarning about Translator appears. Then try a wrong key once and check your code catches the error you expect.
Not confirmed
The release notes do not say when the next major version, which removes Translator, will ship.