An efficient and practical translation tool
Project description
FakeTranslate
安装(一定要全局安装,这样才能在任何地方打开终端窗口就能使用)
::
pip3 install faketranslate -i https://pypi.douban.com/simple
或
pipenv install faketranslate
使用
::
Usage: trans [OPTIONS] word
Options:
--where Output project home information.
--envs Output Environment Variable options.
--man Display manpage.
--support Output diagnostic information for use in GitHub issues.
--clear Clears caches
-y 有道翻译源
-b 百度翻译源
-g 谷歌翻译源
-p 金山词霸翻译源
-v, --version Show the version and exit.
-h, --help Show this message and exit.
Usage Examples:
检测翻译源是否可用:
$ trans check
进入翻译环境:
$ trans shell
Commands:
check Checks for security vulnerabilities and against PEP 508 markers
provided in Pipfile.
clean 清理翻译缓存.
shell Spawns a shell within the virtualenv.
update 更新翻译缓存.
upgrade 升级库版本.
使用截图
.. figure:: https://github.com/HeywoodKing/faketranslate :alt: 实例
实例
License
GNU Affero General Public License v3 or later (AGPLv3+) <https://github.com/HeywoodKing/faketranslate>
__
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for fake-translate-0.1.2.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44d428a198ca8bcabbc61473abcaac918247179c30f78554f7854c1a3d97ed16 |
|
MD5 | 2a9a81737341e74c2cfd48feffb42389 |
|
BLAKE2b-256 | ae0f088581a0f5dd25725dc592056ceeb4ec2d41478d097f05f3cd8692c7097d |
Close
Hashes for fake_translate-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbd0535d413266e7d935a6a03616a0c99fc7cd77d7d8f79397d66d538f5a0df1 |
|
MD5 | 1573d42ef54044cfe983d39a3a320fc8 |
|
BLAKE2b-256 | 26c69cb103717b19df03e75fd7ed92ddb53cf04b46ea6318ba7dd76e12f6f6e2 |