Skip to main content

DeepL Ex: Unlimited Free DeepL Translation

:warning: This project is currently under the development.

This project is inspired by Vincent Young's DeepLX.

But the project does not support Glossaries, thus I made this with DeepL's new internal APIs.

Prerequisites

pip install aiohttp brotli

Usage

import asyncio
import deeplex


async def main():
    texts = await deeplex.translate(
        'Hello World, John!', 'EN', 'DE',
        glossaries={'John': 'Python'},
    )

    # ['Hallo Welt, Python!', 'Hallo Python, Welt!', 'Hallo, Python!', 'Hallo Python!']
    print(texts)


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 deeplex 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deeplex 0.0.1
File Size Uploaded
deeplex-0.0.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deeplex 0.0.1
File Interpreter ABI Platform
deeplex-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / deeplex-0.0.1.tar.gz

Download URL deeplex-0.0.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0035b88bf69cd89007f1132bd91b2698d37d836267167c2554bf116301717a72
BLAKE2b-256 checksum
How to use checksums
7b3336cbae6e2984f7b378ea82ddd61c23789ed53676ee7cf833bb672000d6a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / deeplex-0.0.1-py3-none-any.whl

Download URL deeplex-0.0.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f23adade2e2583ca77ddffe9dc449e9bcc4ae6806d49ed2cc8e18a9a47f0aec8
BLAKE2b-256 checksum
How to use checksums
1ffc48309af9ac19e4929df330ae2cd239152d250362003e92e7cf3a1587b159
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page