semvec/pypi-packages huggingface dataset:
auto-translation 0.1.5
A simple python library used to translate and speak a given text from the user with Google Translation using user's Chrome browser.
Keywords: translation,traduction,translate,speech,voice,google translation,languages

# auto-translation

auto-translation is a simple python library to translate any other
language or transform it to speech with google traduction , all that
using the user's Chrome browser with selenium in hidden mode , mean time
to return the translation or speech 15 seconds

**Installation :**

| $ pip install auto-translation |

**Simple usage :**

| >>> from auto_browser.selenium_translation import Chrome |

| >>> test=Chrome()  |

| >>> print(
test.translate_text(text='*Bonjour*',from_lang='*fr*',to_lang='*fr*') )|

| >>> Good morning |


**Methods :**

| Methods                                                  | Return                              |
|:---------------------------------------------------------|:------------------------------------|
| translation_url(from_lang=str,to_lang=str)               | url of google translation (str)     |
| translation_text_url(text=str,from_lang=str,to_lang=str) | url of the translation needed (str) |
| translate_text(text=str,from_lang=str,to_lang=str)       | translation of text (str)           |
| text_2_speech(text=str, language=str)                    | None , text speech                  |
| translation_2_speech(text=str,from_lang=str,to_lang=str) | None , translation speech           |

**Note :**

Use language codes >>>
[ISO-639 Language Codes](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html)

example :  
Arabic:ar  
French:fr
softlake 0.2
Primary Production: library to estimate primary production in lakes
Requires Python: >=3.6

# Soft Lake

Authors: Massimiliano Cannata, Fabio Lepori, Camilla Capelli
Copyright (c) 2020 IST-SUPSI (www.supsi.ch/ist)
License: GPL v2
version Beta-0.1

[Documentation:](./build/html/index.html)

Soft Lake is a model to estimate Primary Production at hourly rate from monthly profiles.

## Data inputs:

- monthly observations of in-situ profiles measurements along defined depths of Primary Production, Irradiance, Chlorophill-a, Water Temperature

- hourly Irradiance and Wind Speed observations from Weather Station

## Data Outputs:

- Primary Production at hourly rate