Skip to content

yuukidach/baidu-transl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baidu-transl

This is a command line tool for baidu translation.

Installation

pip3 install .

Usage

bdtrans run <content to be translated> [options]

If no options are provided, it will translate English into Chinese. For all available options please take a look at Options Part.

NOTE: Before running the command line tool, please register an account in this website. You need to provide an id and a password in order to call the baidu API. The id and password will be saved in your local storage.

Options

Options:
  -f, --from TEXT  srouce language
  -t, --to TEXT    target language
  --help           Show this message and exit.

About

A command line tool to do translation with Baidu API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages