DeepL Translator CLI using Selenium
Project description
deepl-cli
- DeepL Translator CLI using Pyppeteer
- Translate standard input into a specified language
Install
# python 3.x
pip install deepl-cli
Docker Image
# TRY
docker run -it --rm eggplanter/deepl-cli:0.1
Requirements
Usage
$ deepl
SYNTAX:
$ ... | deepl <from:lang>:<to:lang>
$ deepl <from:lang>:<to:lang> <<'EOS'
...
EOS
$ deepl <from:lang>:<to:lang> <<<"..."
$ deepl <from:lang>:<to:lang> < <filepath>
USAGE:
$ echo Hello | deepl en:ja
$ deepl :ru <<'EOS' # :ru is equivalent of auto:ru
good morning!
good night.
EOS
$ deepl fr:zh <<<"Mademoiselle"
$ deepl de:pl < README_de.md
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}
Lisence
MIT
Author
Haruna(eggplants)
Project details
Release history Release notifications | RSS feed
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.12.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file deepl-cli-0.0.12.tar.gz
.
File metadata
- Download URL: deepl-cli-0.0.12.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8be5de4056766eb362e091f93e10265b741e35fea3be6e1097074942e90279b1 |
|
MD5 | 3a053518a0c7e49c12ae2937e4baaf13 |
|
BLAKE2b-256 | b8418d025b379c80f89f1c42050b08ecc8cee69d29c7d7e84111e8e9346e8bab |
File details
Details for the file deepl_cli-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: deepl_cli-0.0.12-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49aa5eb2807710ad033c69007d8ecbd1b14fe16f45af71552e47332b2ff41e16 |
|
MD5 | 4f7aea60b878076eaf97955a76868a4c |
|
BLAKE2b-256 | ca35f66a5fa7b3b41851918d352549a1970dd2559ceae02d4b3d79ada900a833 |