Skip to main content

command line translate tool

Project description

## 命令行翻译工具

[![asciicast](https://asciinema.org/a/277253.svg)](https://asciinema.org/a/277253)

> 中文->英文,英文->中文

### 翻译api: * 有道翻译 * 百度翻译

### 安装

  • 下载代码

`shell $ git clone git@github.com:raojinlin/cmd-fanyi.git `

  • 设置PYTHONPATH

`shell $ cd cmd-fanyi $ export PYTHONPATH=`pwd` `

  • 安装依赖

`shell $ cd cmd-fanyi $ pip3 install -r requirements.txt `

Changelog –

  • 2020-06-14
    1. 代码重构
    2. 添加控制台
    3. 修复百度翻译授权(支持cookie传入)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmd_fanyi_raojinlin-0.0.2.tar.gz (10.0 kB view hashes)

Uploaded source

Built Distributions

cmd_fanyi_raojinlin-0.0.2-py3.6.egg (29.5 kB view hashes)

Uploaded 3 6

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