Bing Translation For Python
如何安装:
$ pip install bing-translation-for-python
快速上手:
完整文档 Under construction
示例:
这个示例演示了如何将任意一种语言转换为英文
hello.py:
from bing_translation_for_python import Translator
print(Translator('en').translator('你好'))
运行 hello.py
in $ python ./hello.py
out $ hello.
附加组件[终端翻译工具]
这是一个在你的终端中的快速翻译小工具
安装
$ pip install bing-terminal-translator
项目地址
Metadata
Release files for bing-translation-for-python 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bing_translation_for_python-3.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / bing_translation_for_python-3.1.0-py3-none-any.whl
| Download URL | bing_translation_for_python-3.1.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83797164e0dbac31c67f644b6407fd93bdc6b8b867677c05716bcdea5ac9a93f
|
|
BLAKE2b-256 checksum How to use checksums |
792b398b544063052a78b2c23b840e99be42357dc6a1a2a7dc3eb092000404b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|