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.

Files for cmd-fanyi-raojinlin, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size cmd_fanyi_raojinlin-0.0.2-py3.6.egg (29.5 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size cmd_fanyi_raojinlin-0.0.2-py3-none-any.whl (14.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cmd_fanyi_raojinlin-0.0.2.tar.gz (10.0 kB) File type Source Python version None Upload date Hashes View

Supported by

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