# DeepLexer
Working DeepL Pro even Quota Exceeded.
Use your own risks.
## Usage
```
pip install deeplexer
```
```python
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](https://github.com/OrigamiDream/deeplexer/blob/main/LICENSE).
Raw data
{
"_id": null,
"home_page": "https://github.com/OrigamiDream/deeplexer.git",
"name": "deeplexer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "machine translation, translate, translation, deepl, deeplx",
"author": "OrigamiDream",
"author_email": "hello@origamidream.me",
"download_url": "https://files.pythonhosted.org/packages/6c/34/ca50f4daf795e7ffafcce54814c96814e4d53602aabc20ff625fc57022f3/deeplexer-0.0.4.tar.gz",
"platform": "any",
"description": "# DeepLexer\n\nWorking DeepL Pro even Quota Exceeded.\n\nUse your own risks.\n\n## Usage\n```\npip install deeplexer\n```\n\n```python\nimport asyncio\nfrom deeplexer import Deeplexer\n\nasync def main():\n session_file = './sessions.json' # Required. Path to the session be stored.\n username = '<deepl username>' # Optional if session file is valid\n password = '<deepl password>' # Optional if session file is valid\n async with Deeplexer(session_file, \n username=username, \n password=password) as deeplex:\n query = 'Hello World!'\n translation = await deeplex.translate(query, 'EN', 'KO')\n print('Translation:', translation.text)\n print('All jobs have been finished')\n\nif __name__ == '__main__':\n event_loop = asyncio.get_event_loop()\n event_loop.run_until_complete(main())\n event_loop.close()\n```\n\n## License\n\nLicensed under the [MIT license](https://github.com/OrigamiDream/deeplexer/blob/main/LICENSE).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Free DeepL Pro even Quota Exceeded",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/OrigamiDream/deeplexer.git"
},
"split_keywords": [
"machine translation",
" translate",
" translation",
" deepl",
" deeplx"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1a92a04540b430b18888c9b8c69048b39cbed8d3e4cf08fe70048da9be49d9b8",
"md5": "8df0b04d06ff2b1a8987726f28de5680",
"sha256": "d30a2732a868ef977bd774b7463fb4c1cdb10953a3a5339b9a60ed0bef8a8c9b"
},
"downloads": -1,
"filename": "deeplexer-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8df0b04d06ff2b1a8987726f28de5680",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 6772,
"upload_time": "2024-06-05T18:37:59",
"upload_time_iso_8601": "2024-06-05T18:37:59.175281Z",
"url": "https://files.pythonhosted.org/packages/1a/92/a04540b430b18888c9b8c69048b39cbed8d3e4cf08fe70048da9be49d9b8/deeplexer-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6c34ca50f4daf795e7ffafcce54814c96814e4d53602aabc20ff625fc57022f3",
"md5": "e5c20dcbf78372abb62f1fc1dfd2f657",
"sha256": "dce84c26c07b19d240c4a097385b8951d053cdd20e5990b48a07b1fd4d273d6b"
},
"downloads": -1,
"filename": "deeplexer-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "e5c20dcbf78372abb62f1fc1dfd2f657",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 6410,
"upload_time": "2024-06-05T18:38:00",
"upload_time_iso_8601": "2024-06-05T18:38:00.759835Z",
"url": "https://files.pythonhosted.org/packages/6c/34/ca50f4daf795e7ffafcce54814c96814e4d53602aabc20ff625fc57022f3/deeplexer-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-05 18:38:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OrigamiDream",
"github_project": "deeplexer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "aiohttp",
"specs": [
[
"==",
"3.9.5"
]
]
},
{
"name": "aiosignal",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "async-timeout",
"specs": [
[
"==",
"4.0.3"
]
]
},
{
"name": "attrs",
"specs": [
[
"==",
"23.2.0"
]
]
},
{
"name": "Brotli",
"specs": [
[
"==",
"1.1.0"
]
]
},
{
"name": "frozenlist",
"specs": [
[
"==",
"1.4.1"
]
]
},
{
"name": "greenlet",
"specs": [
[
"==",
"3.0.3"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.7"
]
]
},
{
"name": "multidict",
"specs": [
[
"==",
"6.0.5"
]
]
},
{
"name": "playwright",
"specs": [
[
"==",
"1.44.0"
]
]
},
{
"name": "pyee",
"specs": [
[
"==",
"11.1.0"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.12.1"
]
]
},
{
"name": "uv",
"specs": [
[
"==",
"0.2.6"
]
]
},
{
"name": "yarl",
"specs": [
[
"==",
"1.9.4"
]
]
}
],
"lcname": "deeplexer"
}