Bing Translation For Python
如何安装:
$ pip install bing-translation-for-python
快速上手:
示例:
这个示例演示了如何将任意一种语言转换为英文
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 1.4
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-1.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / bing_translation_for_python-1.4-py3-none-any.whl
| Download URL | bing_translation_for_python-1.4-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff3265655482944a1d830b262dc2ac7b0d188f48b1b4ac8cf180091467befa0e
|
|
BLAKE2b-256 checksum How to use checksums |
2a58050f99926f9a2dac6d169bbec1bb17fda8d80b84ec6efb313ed0c98151c1
|
| 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.2 CPython/3.9.7
|