DeepLexer
Working DeepL Pro even Quota Exceeded.
Use your own risks.
Usage
pip install deeplexer
import asyncio
from deeplexer import Deeplexer
async def main():
session_file = './sessions.json' # Required. Path to the session be stored.
username = '<deepl username>' # Optional if session file is valid
password = '<deepl password>' # Optional if session file is valid
async with Deeplexer(session_file,
username=username,
password=password) as deeplex:
query = 'Hello World!'
translation = await deeplex.translate(query, 'EN', 'KO')
print('Translation:', translation.text)
print('All jobs have been finished')
if __name__ == '__main__':
event_loop = asyncio.get_event_loop()
event_loop.run_until_complete(main())
event_loop.close()
License
Licensed under the MIT license.
Metadata
Release files for deeplexer 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deeplexer-0.0.4.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deeplexer-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / deeplexer-0.0.4.tar.gz
| Download URL | deeplexer-0.0.4.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dce84c26c07b19d240c4a097385b8951d053cdd20e5990b48a07b1fd4d273d6b
|
|
BLAKE2b-256 checksum How to use checksums |
6c34ca50f4daf795e7ffafcce54814c96814e4d53602aabc20ff625fc57022f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|
Release files / deeplexer-0.0.4-py3-none-any.whl
| Download URL | deeplexer-0.0.4-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d30a2732a868ef977bd774b7463fb4c1cdb10953a3a5339b9a60ed0bef8a8c9b
|
|
BLAKE2b-256 checksum How to use checksums |
1a92a04540b430b18888c9b8c69048b39cbed8d3e4cf08fe70048da9be49d9b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|