use baidu translation api in terminal
Project description
this is a python translation package based on baidu translation api.
Installation
pip install baidu-trans-cli
register a account on http://api.fanyi.baidu.com/api/trans/product/index 2000,000 characters per month is free.
get key and secretID, write into ~/.config/app-conf/baidu-trans/main.json
Usage
baidu-trans -h
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file baidu_trans_cli-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: baidu_trans_cli-0.2.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5bf4650c627d5087aa131b1c2b972e7aee35c1fdb63375276b52b00241208f6 |
|
MD5 | 13352586570e55574fb277b320518e13 |
|
BLAKE2b-256 | 29d7bce0ce513fc7b7b268b7579ffe2751303665239a2166e3f4df7e9329d8e2 |