PyDeepLX
A Python package for unlimited DeepL translation
API Version
OwO-Network/DeepLX: Permanently free DeepL API written in Golang.
Description
This is a Python package for DeepL translation, I didn't limit the number of translations in the code, if there is a 429 error, it means your IP has been blocked by DeepL temporarily, please don't request it frequently in a short time.
Usage
Install Package
pip install PyDeepLX
Use in code
from PyDeepLX import PyDeepLX
# By default, the source language is automatically recognized and translated into English without providing any alternative results.
PyDeepLX.translate("你好世界") # Return String
# Specify the source and target languages
PyDeepLX.translate("你好世界", "ZH", "EN") # Return String
# Need alternative results
PyDeepLX.translate("毫无疑问的", "ZH", "EN", 3) # Return List: ['Without a doubt', 'No doubt']
# Print the results
PyDeepLX.translate("毫无疑问的", "ZH", "EN", 3, True)
# Using proxy
PyDeepLX.translate(text="毫无疑问的", sourceLang="ZH", targetLang="EN", numberAlternative=0, printResult=False, proxies="socks5://127.0.0.1:7890")
PyPi
Author
PyDeepLX © Vincent Young, Released under the MIT License.
Metadata
Release files for PyDeepLX 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PyDeepLX-1.0.7.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyDeepLX-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / PyDeepLX-1.0.7.tar.gz
| Download URL | PyDeepLX-1.0.7.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
081a798b25ba8d431ae144387441ac8518f8e9e88db7d72376aafaad82e8a114
|
|
BLAKE2b-256 checksum How to use checksums |
8a4135da8485b3966d93f68d5270f054247b4bf0db2082199c5a013e1067ea26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / PyDeepLX-1.0.7-py3-none-any.whl
| Download URL | PyDeepLX-1.0.7-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f82a25e6376c30d513e2cd4875a4158d41be0974efdf1a34540e9c25b876708
|
|
BLAKE2b-256 checksum How to use checksums |
3bb750a7f80988a0d16f34e6e89bd827681e8f2dc9711c69806e6af2774c5dd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|