Skip to main content

DeepL Translator CLI using Selenium

Project description

deepl-cli

PyPI version Maintainability

  • DeepL Translator CLI using Selenium
  • Translate standard input into a specified language
  • Under development on Ubuntu 20.04 LTS

Install

$ pip install deepl-cli
$ sudo apt install chromium-browser chromium-chromedriver python3-selenium -y
$ sudo apt update && sudo apt -f install -y

demo

Requirements

Usage

$ deepl
SYNTAX:
    $ (...) | deepl <from:lang>:<to:lang>
    $ deepl <from:lang>:<to:lang> <<'EOS'
      (...)
      EOS
    $ deepl <from:lang>:<to:lang> <<<"(...)"
USAGE:
    $ echo Hello | deepl en:ja
    $ deepl :ru <<'EOS' # :ru is equivalent of auto:ru
      good morning!
      good night.
      EOS
    $ deepl fr:zh <<<"Mademoiselle"
LANGUAGE CODES:
    <from:lang>: {(empty)=auto, ja, en, de, fr, es, pt, it, nl, pl, ru, zh}
    <to:lang>:   {ja, en, de, fr, es, pt, it, nl, pl, ru, zh}
TIPS:
    To use this, run:
    $ sudo apt install chromium-browser chromium-chromedriver python3-selenium -y
    $ sudo apt update && sudo apt -f install -y

Lisence

MIT

Author

Haruna(eggplants)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepl-cli-0.0.3.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

deepl_cli-0.0.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file deepl-cli-0.0.3.tar.gz.

File metadata

  • Download URL: deepl-cli-0.0.3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.0

File hashes

Hashes for deepl-cli-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d5b71472ff77acaf29e6c105133f4beb91afbd12a8786d60a70082d00257440d
MD5 aecde566acef195f0b2e874f62718e74
BLAKE2b-256 6150ef8de1f147ca06acb0b6e622ae869244735f21d21740043a3f3f3c5e9c24

See more details on using hashes here.

File details

Details for the file deepl_cli-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: deepl_cli-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.0

File hashes

Hashes for deepl_cli-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0550740ff47eb68007aa9b7ff2339e115b9790af9c7c162550c3336eac2d101b
MD5 cf6c60e5ccae281f43e9e43e1b126558
BLAKE2b-256 410250ba8f2a9ac1d0b57b8b41e768fc20293dcb3ba7a95f786e2b88ee33d57a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page