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", 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.

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for PyDeepLX-1.0.6.tar.gz
Algorithm Hash digest
SHA256 de7d929f5b25cd30542f1a97f23999dc63a1f9956be88fdbe723de1fd3935679
MD5 3979179b62c754d0336bd8b4ad46ce87
BLAKE2b-256 9c1bcaa140c9077f156936676ee693f4597ab338810c007cabc25365f1fa3f4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyDeepLX-1.0.6-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.9.18

File hashes

Hashes for PyDeepLX-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 81add60d6ae9dc50ba3b09ea9b28ca836001cfe51247b7689e5b279ca6530c6b
MD5 489f4c671872f7357d6c9e1aac24a7a6
BLAKE2b-256 2d20a01e86b404744f518add02f91be9e10b161f8549cf458a23470739c4fd29

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