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

Uploaded Python 3

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

Hashes for baidu_trans_cli-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5bf4650c627d5087aa131b1c2b972e7aee35c1fdb63375276b52b00241208f6
MD5 13352586570e55574fb277b320518e13
BLAKE2b-256 29d7bce0ce513fc7b7b268b7579ffe2751303665239a2166e3f4df7e9329d8e2

See more details on using hashes here.

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