https://github.com/tisfeng/deepl-cli
A simple DeepL Translation command line program written in Python that does not require key. 一个使用 Python 编写、无需 auth_key 的 DeepL 翻译命令行工具。
https://github.com/tisfeng/deepl-cli
command-line deepl translate
Last synced: about 2 months ago
JSON representation
A simple DeepL Translation command line program written in Python that does not require key. 一个使用 Python 编写、无需 auth_key 的 DeepL 翻译命令行工具。
- Host: GitHub
- URL: https://github.com/tisfeng/deepl-cli
- Owner: tisfeng
- License: mit
- Created: 2022-07-18T06:51:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-18T12:39:45.000Z (over 2 years ago)
- Last Synced: 2025-04-19T08:53:44.432Z (3 months ago)
- Topics: command-line, deepl, translate
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DeepL Translation CL
A simple DeepL Translation command line program written in Python that does not require key.
一个使用 `Python` 编写、无需 auth_key 的 DeepL 翻译命令行工具。
## Usage

## Examples
### Translate word to Chinese
**Default is to translate text to `Chinese`. If no source language is specified, it will autodetect the source language.**
```bash
python3 deepL.py good
```
### Translate word to designated language
```bash
python3 deepL.py 优雅 -t en
```
### Auto detect source language
```bash
python3 deepL.py heel
```
### Translate word from designated language to designated language
```bash
python3 deepL.py heel -s en -t zh
```
### Translate Text
```bash
python3 deepL.py My heart is slightly larger than the whole universe.
```
> Note ⚠️: _Sometimes the request fails because the same IP is requested too many times...😓_
