Metadata-Version: 2.1
Name: pyGoogleTranslate
Version: 1.0
Summary: A little python to parse Google Translate webpages
Home-page: https://github.com/Animenosekai/python_google_translate
Author: Anime no Sekai
Author-email: niichannomail@gmail.com
License: MIT
Download-URL: https://github.com/Animenosekai/python_google_translate/archive/v1.0.tar.gz
Keywords: translate,translation,google_translate,google,selenium,animenosekai
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
Requires-Dist: selenium

# python-google-translate
 A python module for Google Translate (without using the API)

### This module lets you get two things:

- translate(text, destination_language, source_language)

Translates the given text into the chosen language.

    text: The text to translate
    destination_language: The language code (two letters) of the language you want to get.
    source_language (default: auto): The language code (two letters) of the language the text is in. ('auto' detects automatically the language the text is in)

- detect_language(text, result_language)

Gives the language of the given text.

    text: The text to check.
    result_language: The language code (two letters) of the output language.

### Installation
You can install python-google-translate via `PIP` the Python Package Index Manager.

```bash
pip install python-google-translate
```

But you also need to install [PhantomJS](https://phantomjs.org/download.html)

On macOS, you can install it with Homebrew:
```bash
brew cask install phantomjs
```

### Dependencies

This module has one python module dependency: [Selenium](https://www.selenium.dev/), used to automate browsers which is downloaded when installing python-google-translate with PIP.

But you also need to install [PhantomJS](https://phantomjs.org/download.html), a headless, lightweight browser which I use to get webpages as quick as possible.



> Google Translate belongs to Google LLC, fully owned by Alphabet Inc.

> © Anime no Sekai - 2020

