【文件属性】:
文件名称:py-googletranslation:pygoogletranslation
文件大小:38KB
文件格式:ZIP
更新时间:2021-05-20 13:58:15
python translation googletranslate googletrans python-translator
pygoogle翻译
无限文本翻译(无限制)
pygoogletranslation是一个免费且不受限制的python库,它实现了Google Translate API。 这使用来调用诸如检测和翻译之类的方法。
与Python 3.6+兼容。
特征
文件翻译(.doc,.docx,.pdf,.txt)
快速且可靠-它使用的是与translation.google.com使用的服务器相同的服务器
自动语言检测
批量翻译
要求
去做
更多功能即将推出。
代理支持
内部会话管理(以获得更好的批量翻译)
Python请求模块
该库使用请求从Google获取数据。
要求 :
发布获取
这个图书馆如何运作
您可能想知道该库如何正常工作,而其他python翻译包使用令牌机制,但这是失败的,因为Google更改了其令牌机制。
安装
要进行安装,请使用pip等软件包“ pygooglet
【文件预览】:
py-googletranslation-main
----setup.py(2KB)
----.gitignore(2KB)
----.readthedocs.yml(405B)
----index.rst(3KB)
----SECURITY.md(619B)
----.travis.yml(182B)
----CONTRIBUTING.md(3KB)
----LICENSE(1KB)
----_config.yml(30B)
----.github()
--------ISSUE_TEMPLATE()
--------workflows()
----README.rst(15KB)
----pytest.ini(281B)
----pygoogletranslation()
--------urls.py(341B)
--------__init__.py(252B)
--------models.py(2KB)
--------constants.py(2KB)
--------utils.py(4KB)
--------gauthtoken.py(4KB)
--------__pycache__()
--------translate.py(11KB)
----tox.ini(271B)