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.

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page