py-googletrans:(非官方)Googletrans

时间:2021-04-12 15:56:13
【文件属性】:
文件名称:py-googletrans:(非官方)Googletrans
文件大小:480KB
文件格式:ZIP
更新时间:2021-04-12 15:56:13
Python 谷歌翻译 Googletrans是一个免费且不受限制的python库,它实现了Google Translate API。 这使用来调用诸如检测和翻译之类的方法。 与Python 3.6+兼容。 有关详细信息,请参阅。 特征 快速且可靠-它使用的是与translation.google.com使用的服务器相同的服务器 自动语言检测 批量翻译 可定制的服务URL HTTP / 2支持 去做 更多功能即将推出。 代理支持 内部会话管理(以获得更好的批量翻译) HTTP / 2支持 该库对HTTP请求使用httpx,因此默认情况下支持HTTP / 2。 您可以检查是否已启用http2并由翻译或检测到的对象的._response.http_version操作: >> > translator . translate ( '테스트' ). _response . http_version
【文件预览】:
py-googletrans-master
----setup.py(2KB)
----.gitignore(770B)
----ISSUE_TEMPLATE.md(1KB)
----test-requirements.txt(15B)
----.travis.yml(182B)
----MANIFEST.in(19B)
----CONTRIBUTING.md(3KB)
----LICENSE(1KB)
----Pipfile.lock(20KB)
----setup.cfg(40B)
----.github()
--------stale.yml(695B)
----translate(1KB)
----README.rst(8KB)
----tests()
--------conftest.py(136B)
--------test_utils.py(809B)
--------test_gtoken.py(1KB)
--------test_client.py(4KB)
----example()
--------translate_word_doc.py(1022B)
----pytest.ini(273B)
----Pipfile(239B)
----googletrans()
--------urls.py(174B)
--------__init__.py(232B)
--------client.py(10KB)
--------models.py(2KB)
--------constants.py(9KB)
--------utils.py(2KB)
--------gtoken.py(7KB)
----docs()
--------_build()
--------Makefile(7KB)
--------index.rst(6KB)
--------conf.py(9KB)
--------make.bat(7KB)
--------_themes()
----tox.ini(255B)

网友评论