use baidu translation api in terminal
Project description
|python27| |python35|
this is a python translation package based on baidu translation api.
**Installation**
.. code:: bash
pip install baidu-trans-cli
1. register a account on http://api.fanyi.baidu.com/api/trans/product/index **2000,000 characters per month is free.**
2. get key and secretID, write into **~/.config/app-conf/baidu-trans/main.json**
**Usage**
.. code:: bash
baidu-trans -h
.. |python27| image:: https://img.shields.io/badge/python-2.7-ff69b4.svg
.. |python35| image:: https://img.shields.io/badge/python-3.5-green.svg
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.1.5-py3-none-any.whl
.
File metadata
- Download URL: baidu_trans_cli-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.8 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 | a09735fe5076ed4bdd4ffd7586379fe131c4d216e1954667b0a3bf79bc8b62c8 |
|
MD5 | 5a9dcfbcceef8429614bc6b32122a23c |
|
BLAKE2b-256 | fb228ace02ac60db9cc1acc41cba26bb3b96e06f0ea34ba21c42a5c2e2db78ae |