Skip to main content

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 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", True) # Return List: ['Without a doubt', 'No doubt']

# Print the results
PyDeepLX.translate("毫无疑问的", "ZH", "EN", True, True)

# Using proxy
PyDeepLX.translate(text="毫无疑问的", sourceLang="ZH", targetLang="EN", needAlternative=False, printResult=False, proxies="socks5://127.0.0.1:7890")

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.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distributions

PyDeepLX-1.0.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

PyDeepLX-1.0.2-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file PyDeepLX-1.0.2.tar.gz.

File metadata

  • Download URL: PyDeepLX-1.0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for PyDeepLX-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ff3a5c3ac0c06c30f29cdc11b4634ea991338faede445c6f60ce921df0648341
MD5 c4c857e8d30513830520c17416319e56
BLAKE2b-256 49defa2845bb345204241bd2ee5b1c712c05fd8c0f3a06c1adab36042b3e86b0

See more details on using hashes here.

File details

Details for the file PyDeepLX-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: PyDeepLX-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for PyDeepLX-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcd5a0afb6a914637c72002ad265c9b875e90033d1a872c2e5c4908ced774536
MD5 2046394d93f6a822eba96d4c0a6d1032
BLAKE2b-256 ff786e36787f6a4c13794dd4673e2f3326a44d19b1c147d66b64bd67fbe38ac8

See more details on using hashes here.

File details

Details for the file PyDeepLX-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: PyDeepLX-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for PyDeepLX-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c454d1a4c993b544f33f0af1c5fae1300a36c0370a94a74cbe7191fe26cca2f9
MD5 cdb96bcadcf47263b9fe44cde864e1a6
BLAKE2b-256 2d6436d6b8471574e498ae02791c9cbae773653498097ec66a54faf383a729f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page