Metadata-Version: 2.1
Name: PyDeepLX
Version: 1.0.0
Summary: A Python package for unlimited DeepL translation
Home-page: https://github.com/OwO-Network/PyDeepLX
Author: missuo
Author-email: i@yyt.moe
License: MIT
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx
Requires-Dist: langdetect

# PyDeepLX
A Python package for unlimited DeepL translation

## API Version
[OwO-Network/DeepLX](https://github.com/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
```bash
pip install PyDeepLX
```
### Use in code
```python
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
<a href="https://pypi.org/project/PyDeepLX/"><img src="https://img.shields.io/badge/Pypi-000000?style=for-the-badge&logo=pypi&logoColor=red" /></a>

## Author

**PyDeepLX** © [Vincent Young](https://github.com/missuo), Released under the [MIT](./LICENSE) License.<br>

