An efficient and practical translation tool
Project description
FakeTranslate
安装(一定要全局安装,这样才能在任何地方打开终端窗口就能使用)
::
pip3 install fake-translate -i https://pypi.douban.com/simple
或
pipenv install fake-translate
使用
::
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
File details
Details for the file fake-translate-0.1.3.linux-x86_64.tar.gz
.
File metadata
- Download URL: fake-translate-0.1.3.linux-x86_64.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96fd43a3532b3f6ba992233e8f093d2593ef5dddf78721b42ce59bf3cee74345 |
|
MD5 | 5f7a99580d5f56e4aa56c5f6c41b83ac |
|
BLAKE2b-256 | d5b3ee79a8f80d2892539aeca07a80b3cff23981b5e473b3662442b0f05d46c1 |
File details
Details for the file fake_translate-0.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: fake_translate-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9663c852b638f88170a151f683a66a2e3c7c12838bdee549fef7d9a2ff6d94fb |
|
MD5 | bc3c857cfe45a25b9e2d402d30760fa1 |
|
BLAKE2b-256 | 182686d3a5787c8e377fe4cde4dfaa1ae978dbb519d3607f2226feee32e4882d |