Chris
minor refactoring and renamed cli.py to __main__ to reflect its true purpose
fdb2846
raw
history blame
858 Bytes
"""Top-level package for Deep Translator"""
from google_trans import GoogleTranslator
from pons import PonsTranslator
from linguee import LingueeTranslator
from mymemory import MyMemoryTranslator
from yandex import YandexTranslator
from qcri import QCRI
from deepl import DeepL
from detection import single_detection, batch_detection
from microsoft import MicrosoftTranslator
# These should be declared in setup.cfg, setting them here is redundant
# __author__ = """Nidhal Baccouri"""
# __email__ = '[email protected]'
# __version__ = '1.4.4'
# __all__ = [GoogleTranslator,
# PonsTranslator,
# LingueeTranslator,
# MyMemoryTranslator,
# YandexTranslator,
# MicrosoftTranslator,
# QCRI,
# DeepL,
# main,
# single_detection,
# batch_detection]