Skip to content

A simple DeepL Translation command line program written in Python that does not require key. 一个使用 Python 编写、无需 auth_key 的 DeepL 翻译命令行工具。

License

Notifications You must be signed in to change notification settings

kwekewk/deepl-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DeepL Translation CL

A simple DeepL Translation command line program written in Python that does not require key.

一个使用 Python 编写、无需 auth_key 的 DeepL 翻译命令行工具。

Usage

image-20221018202931345

Examples

Translate word to Chinese

Default is to translate text to Chinese. If no source language is specified, it will autodetect the source language.

python3 deepL.py good

iShot_2022-10-18_18.26.15-1666089417

Translate word to designated language

python3 deepL.py 优雅 -t en

iShot_2022-10-18_18.26.48

Auto detect source language

python3 deepL.py heel

iShot_2022-10-18_18.27.28

Translate word from designated language to designated language

python3 deepL.py heel -s en -t zh

iShot_2022-10-18_18.27.59

Translate Text

python3 deepL.py My heart is slightly larger than the whole universe.

image-20220722001625538

Note ⚠️: Sometimes the request fails because the same IP is requested too many times...😓

image-20220722001638112

About

A simple DeepL Translation command line program written in Python that does not require key. 一个使用 Python 编写、无需 auth_key 的 DeepL 翻译命令行工具。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%