翻译工具类
Project description
translate utils support google,baidu,iciba,youdao
[introduction]
- support version: python 3.0+
down install
- pip install:
pip install translate_util
DEMO
1.发布消费字符串类型任务
content = 'china'
for plat in ['google', 'baidu', 'iciba', 'youdao']:
print(f'{plat}:{translate_other2cn(content, plat)}')
content = '中国'
for plat in ['google', 'baidu', 'iciba', 'youdao']:
print(f'{plat}:{translate_other2en(content, plat)}')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
translate_util-1.0.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for translate_util-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a4f4eacfd1c29b2b94ccbd9f3dc798ab522d393117fa0732f9a4198ad2857d6 |
|
MD5 | efe7b08df4fae216e5b3026ef38dc20c |
|
BLAKE2b-256 | 1f936597df554e895c851dafbef5ae45e088b65e3aa7149b29109b99a4e865f0 |