wmt-2020-pl-en/googletrans/__init__.py
Mariusz Korzekwa b670db30ec Improve setup.py
* 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.
2017-05-05 18:17:09 +09:00

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