Skip to content

Commit

Permalink
[add] Prepare for v1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Animenosekai committed Apr 25, 2021
1 parent 603cdce commit e953d46
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion translatepy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion translatepy/translate.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
translatepy v1.6 (Beta)
translatepy v1.6 (Stable)
© Anime no Sekai — 2021
"""
Expand Down

0 comments on commit e953d46

Please sign in to comment.