semvec/pypi-packages huggingface dataset:
cloud-translator 1.0
Use the same api to call the third party translator apis, such as google, tencent, baidu.
Requires Python: >=3.6

# cloud-translator

Use the same api to call the third party translator apis, such as google, tencent, baidu.

### Prerequisite

Python 3.7 or more latest version

### Installation

```shell
pip install cloud-translator
```

### Usage

The library support GoogleTranslator, TencentTranslator, BaiduTranslator, where GoogleTranslator depends on [py-googletrans](https://github.com/ssut/py-googletrans) which not needs appid and appkey, but is not stable and probably blocked by google.

TencentTranslator and BaiduTranslator are rewritted with reference to the offical demo script to support python 3.7 version

```python
from translator import *

# use google
translator = GoogleTranslator()
print(translator.translate('我是中国人', dest='en'))

# use baidu api
translator = BaiduTranslator(appid, appkey)
print(translator.translate('我是中国人', dest='en'))

# use tencent api
translator = TencentTranslator(appid, appkey)
print(translator.translate('我是中国人', dest='en'))

# throttle api call frequency.
translate_func = throttle(seconds=1)(translator.translate) # call api every second
for i in range(100):
  translate_func('我是中国人', dest='en')
```
PTIAndante 1.0.2
PTI Demand Planner Utilities
Requires Python: >=3.6

PTI Andante
===========

## About

PTI Andante is a collection of script utilities for demand planners to help their daily tasks.

## Installing

To install, simply run:

```
pip install PTIAndante
```

## Usage

Type `andante` in the terminal to see commands options.

### Pivoting Tool

This tool is invoked with `pivot` command. It reads Input Revision (Pre-Demand) file and produces a 'pivot' file that can be read by Raw Revisi file.

## Develop

Contact me if you need access to the GitLab repository.