diff --git a/README.md b/README.md index db568d0d..b889d7ef 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ You can check if you successfully installed it by printing out its version: ```bash python -c "import translatepy; print(translatepy.__version__)" # output: -translatepy v1.5.2 +translatepy v1.6 ``` ## List of Services @@ -139,16 +139,12 @@ It is the High API providing all of the methods and optimizations for `translate - language: To get the language of a text - example: To get examples of a word - dictionary: To get a list of translations categorized into "featured" and "less common" by DeepL and Linguee +- text_to_speech: To get an MP3 file containing the speech version of the given text When something goes wrong or nothing got found, `None` is returned. The source language while being most of the time an instance of the Language class can sometimes be a string if the conversion to the Language class failed. - -An additional `"text_to_speech"` function can be found in the GoogleTranslate class (accessible with the `Translator()` class at `Translator().google_translate`). -***It is not officialy supported and is not very stable.*** - - ## Deployment This module is currently in development and might contain bugs. diff --git a/setup.py b/setup.py index e24f4122..5f7eefe8 100644 --- a/setup.py +++ b/setup.py @@ -5,14 +5,14 @@ setup( name = "translatepy", packages = ["translatepy"], - version = "1.5.2", + version = "1.6", license = "GNU General Public License v3 (GPLv3)", description = "Translate, transliterate, get the language of texts in no time with the help of multiple APIs!", author = "Anime no Sekai", author_email = "niichannomail@gmail.com", url = "https://github.com/Animenosekai/translate", - download_url = "https://github.com/Animenosekai/translate/archive/v1.5.2.tar.gz", - keywords = ['python', 'translate', 'translation', 'google-translate', 'yandex-translate', 'bing-translate', 'reverso', 'transliteration', 'detect-language'], + download_url = "https://github.com/Animenosekai/translate/archive/v1.6.tar.gz", + keywords = ['python', 'translate', 'translation', 'google-translate', 'yandex-translate', 'bing-translate', 'reverso', 'transliteration', 'detect-language', 'text-to-speech'], install_requires = ['safeIO>=1.2', 'requests', 'beautifulsoup4', 'typing; python_version<"3.5"'], classifiers = ['Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9'], long_description = readme_description, diff --git a/translatepy/__init__.py b/translatepy/__init__.py index 2423bfa7..a55a7047 100644 --- a/translatepy/__init__.py +++ b/translatepy/__init__.py @@ -11,7 +11,7 @@ __copyright__ = 'Copyright 2021, translate' __credits__ = ['animenosekai'] __license__ = 'GNU General Public License v3 (GPLv3)' -__version__ = 'translatepy v1.6 (Beta)' +__version__ = 'translatepy v1.6' __maintainer__ = 'Anime no Sekai' __email__ = 'niichannomail@gmail.com' __status__ = 'Stable' diff --git a/translatepy/translate.py b/translatepy/translate.py index 913f3473..c9f530e7 100644 --- a/translatepy/translate.py +++ b/translatepy/translate.py @@ -1,5 +1,5 @@ """ -translatepy v1.6 (Beta) +translatepy v1.6 (Stable) © Anime no Sekai — 2021 """