Catalog PyPI
PACKAGE EXPLORERView in registry

aiodeepl

PyPI

Async API for DeepL Translator

utilities
Versions collected1
Direct dependencies5From release 0.1.5
Last observed21 Oct, 11:48 UTC

README

Version 0.1.5 documentation

Asynchronous API for DeepL Translator

It also shipped with a simple command line interface.

Installation

pip install -U aiodeepl

API Usage

Documentation is yet complete. Apart from the following example, you can also refer to the __main__.py file for more examples.

import aiodeepl

async def main():
    translator = aiohttp.Translator(api_key="123")
    result = await translator.translate("Hello, World!", target_lang="DE")
    print(result)

CLI Usage

aiodeepl --api-key 123 -t "Hello, World!" -d DE

You can save api_key in config file or input it interactively for security.

To translate a document, you can use the following command:

aiodeepl --api-key 123 -f README.pdf -d DE -o README_DE.pdf

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.56 Mar 20245

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
vermiiii0n/aiodeepl

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:48 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5a4e08f5d3d4c88266b2b89135500533a4a487b1804bb3d6ff5c6b54636c4fdc