fake-translate-0.1.3
توضیحات
An efficient and practical translation tool
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fake-translate-0.1.3 |
| نام | fake-translate |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | ['hywell'] |
| ایمیل نگهدارنده | ['opencoding@hotmail.com'] |
| نویسنده | hywell |
| ایمیل نویسنده | opencoding@hotmail.com |
| آدرس صفحه اصلی | https://github.com/HeywoodKing/faketranslate |
| آدرس اینترنتی | https://pypi.org/project/fake-translate/ |
| مجوز | AGPLv3+ |
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>`__
نیازمندی
| مقدار | نام |
|---|---|
| >=2.22.0 | requests |
| >=0.1.11 | fake-useragent |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.6 | Python |
نحوه نصب
نصب پکیج whl fake-translate-0.1.3:
pip install fake-translate-0.1.3.whl
نصب پکیج tar.gz fake-translate-0.1.3:
pip install fake-translate-0.1.3.tar.gz