Unofficial free DeepL translator client (No auth)
Project description
# free-deepl-translator
Unofficial free DeepL translator client for Python.
This package lets you translate text using DeepL without requiring an API key, by mimicking the web client protocol.
you can install it with this command : pip install free-deepl-translator
## 🚀 Exemple
import free_deepl_translator as deepl
deepl_instance = deepl.Deepl()
deepl_instance.Session() # Create an deepl Session
print("Session created")
translated_text = deepl_instance.Translate("How are you ?", target_lang = "fr")
if (translated_text["status"] == 0):
print(f"Translated text : {translated_text['text']}")
second_translated_text = deepl_instance.Translate("Je vais bien, merci", target_lang = "en", source_lang = "fr")
if (second_translated_text["status"] == 0):
print(f"Translated text : {second_translated_text['text']}")
else:
print(f"Error : {second_translated_text['msg']}")
else:
print(f"Error : {translated_text['msg']}")
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 Distributions
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 free_deepl_translator-1.0.1-py3-none-any.whl.
File metadata
- Download URL: free_deepl_translator-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e9ba8c3f6a696a46b3291020cd042ca3155658afc3597f203d96f0d9f532e90
|
|
| MD5 |
3b2ae6fb97a6475f2d5197cbec0c40dd
|
|
| BLAKE2b-256 |
2669b444d5b1f47fd35fa34d153b6d762cbfc0cd8cad1a6f9cecb7423176dfa1
|