A Python package for unlimited DeepL translation
Project description
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 translated by DeepL, 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.
targetText = PyDeepLX.translate("你好世界") # Return String
# Specify the source and target languages
targetText = PyDeepLX.translate("你好世界", "ZH", "JP") # Return String
# Need alternative results
targetText = PyDeepLX.translate("毫无疑问的", "ZH", "JP", True) # Return List: ['Without a doubt', 'No doubt']
# Print the results
targetText = PyDeepLX.translate("毫无疑问的", "ZH", "JP", True, True)
PyPi
Author
PyDeepLX © Vincent Young, Released under the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyDeepLX-1.0.0.tar.gz
(4.3 kB
view details)
Built Distributions
File details
Details for the file PyDeepLX-1.0.0.tar.gz
.
File metadata
- Download URL: PyDeepLX-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e9ea498ee9ffbafda763291da82a67c37366b213d0557f2715b02f15088f27e |
|
MD5 | db9ab7e0e4c2754b2373ddb37e69aab8 |
|
BLAKE2b-256 | 136167649e068cd664206a4304f2b43b0f0f8aa25deebbee6e7fcdb1ac3a4ab7 |
File details
Details for the file PyDeepLX-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: PyDeepLX-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9a2c533359a43183d5ac4f2878b436565e80e28750e2429530377dd32a4ea66 |
|
MD5 | 1d867872355652f28d0dcc01ec8b804f |
|
BLAKE2b-256 | b2780e6829ea96196fa7621e202015d883df5ee753e13e93a17036ae32adfaee |
File details
Details for the file PyDeepLX-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: PyDeepLX-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc9780c100505d8efe15e8928669bb830ce6777a9d0e9d5217e44be625677a0a |
|
MD5 | 9336b83080e07de02db4542fb9708f5f |
|
BLAKE2b-256 | 8e7730615748b0f28c05ba8ba4c11518b29fd250a40ffb7ae0c515ee77b4fc57 |