b670db30ec
* Now setup.py don't import googletrans.__init__.py wchich import requests, and this occure ImportError during installation of library. * Changes with getting version in setup.py without importing googletrans.__init__.py Now you can install py-googletrans on clean virtualenv, without earlier install dependencies.
8 lines
213 B
Python
8 lines
213 B
Python
"""Free Google Translate API for Python. Translates totally free of charge."""
|
|
__all__ = 'Translator',
|
|
__version__ = '2.1.2'
|
|
|
|
|
|
from googletrans.client import Translator
|
|
from googletrans.constants import LANGUAGES
|