Skip to main content

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
  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

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

baidu_trans_cli-0.2.2-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page