From c9d8fa795a39e5cef25e3d19768381dc4666ef12 Mon Sep 17 00:00:00 2001 From: TikhonP Date: Mon, 14 Feb 2022 14:13:37 +0300 Subject: [PATCH] Update version to v2.0.3 --- README.md | 28 +++++++++++++++------------- docs/requirements.txt | 6 +++--- requirements.txt | 2 +- setup.cfg | 2 +- src/speechkit/__init__.py | 2 +- 5 files changed, 21 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 4c27841..e583376 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,17 @@ # Yandex SpeechKit Python SDK -![PyPI](https://img.shields.io/pypi/v/speechkit) ![GitHub](https://img.shields.io/github/license/tikhonp/yandex-speechkit-lib-python) ![PyPI - Format](https://img.shields.io/pypi/format/wheel) [![Build Status](https://travis-ci.com/TikhonP/yandex-speechkit-lib-python.svg?branch=master)](https://travis-ci.com/TikhonP/yandex-speechkit-lib-python) [![Updates](https://pyup.io/repos/github/TikhonP/yandex-speechkit-lib-python/shield.svg)](https://pyup.io/repos/github/TikhonP/yandex-speechkit-lib-python/) [![Python 3](https://pyup.io/repos/github/TikhonP/yandex-speechkit-lib-python/python-3-shield.svg)](https://pyup.io/repos/github/TikhonP/yandex-speechkit-lib-python/) [![codecov](https://codecov.io/gh/tikhonp/yandex-speechkit-lib-python/branch/master/graph/badge.svg?token=NRNV9E36I4)](https://codecov.io/gh/tikhonp/yandex-speechkit-lib-python) [![Documentation Status](https://readthedocs.org/projects/yandex-speechkit-lib-python/badge/?version=latest)](https://yandex-speechkit-lib-python.readthedocs.io/en/latest/?badge=latest) - Python SDK for Yandex SpeechKit API. -This library supports absolutely all Yandex SpeechKit methods including “Streaming mode for short audio recognition”. For more information please visit [Yandex Speechkit API Docs](https://cloud.yandex.com/en/docs/speechkit/). +
+ +![PyPI](https://img.shields.io/pypi/v/speechkit) ![GitHub](https://img.shields.io/github/license/tikhonp/yandex-speechkit-lib-python) [![Build Status](https://travis-ci.com/TikhonP/yandex-speechkit-lib-python.svg?branch=master)](https://travis-ci.com/TikhonP/yandex-speechkit-lib-python) [![Updates](https://pyup.io/repos/github/TikhonP/yandex-speechkit-lib-python/shield.svg)](https://pyup.io/repos/github/TikhonP/yandex-speechkit-lib-python/) [![codecov](https://codecov.io/gh/tikhonp/yandex-speechkit-lib-python/branch/master/graph/badge.svg?token=NRNV9E36I4)](https://codecov.io/gh/tikhonp/yandex-speechkit-lib-python) +[![Documentation Status](https://readthedocs.org/projects/yandex-speechkit-lib-python/badge/?version=latest)](https://pip.pypa.io/en/stable/?badge=stable) +[![Downloads](https://pepy.tech/badge/speechkit)](https://pepy.tech/project/speechkit) + +
+ +For more information please visit [Yandex Speechkit API Docs](https://cloud.yandex.com/en/docs/speechkit/). This lib +supports short and long audio recognition of speechkit # Getting Started @@ -25,13 +32,14 @@ $ python -m pip install . python -m pip install speechkit ``` -# SpeechKit documentation +# Speechkit documentation -See [speechkit readthedocs](https://yandex-speechkit-lib-python.readthedocs.io/en/latest/index.html) or [speechkit docs in PDF](https://yandex-speechkit-lib-python.readthedocs.io/_/downloads/en/latest/pdf/) for more info. +See [speechkit docs](https://yandex-speechkit-lib-python.readthedocs.io/en/latest/index.html) for more +info. [PDF docs](https://yandex-speechkit-lib-python.readthedocs.io/_/downloads/en/latest/pdf/) -# Using speechkit +## Using speechkit -There are support of synthesis, recognizing long and short audio. For more information please read [Documentation](https://yandex-speechkit-lib-python.readthedocs.io/en/latest/index.html). +There are support of recognizing long and short audio and synthesis. For more information please read docs below. First you need create session for authorisation: @@ -88,12 +96,6 @@ synthesizeAudio.synthesize( ) ``` -# TODO - -- Provide wide range of exceptions (There is only `speechkit.exceptions.RequestError` right now) -- Add troubleshooting headers to `speechkit.Session` -- Add gRPC streaming synthesis - # License MIT diff --git a/docs/requirements.txt b/docs/requirements.txt index af23c25..0cd1dcc 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ -sphinx==4.1.2 -sphinx_markdown_builder==0.5.4 -sphinx-rtd-theme==0.5.2 \ No newline at end of file +sphinx>=4.1.2 +sphinx_markdown_builder>=0.5.4 +sphinx-rtd-theme>=0.5.2 diff --git a/requirements.txt b/requirements.txt index f1edab0..a491be6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ boto3 requests grpcio-tools>=1.39.0 pyjwt>=2.1.0 -cryptography \ No newline at end of file +cryptography diff --git a/setup.cfg b/setup.cfg index 36d6456..9e46324 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = speechkit -version = 2.0.2 +version = 2.0.3 author = Tikhon Petrishchev author_email = tikhon.petrishchev@gmail.com description = Python SDK for Yandex Speechkit API. diff --git a/src/speechkit/__init__.py b/src/speechkit/__init__.py index 1c695a5..bfef0f1 100644 --- a/src/speechkit/__init__.py +++ b/src/speechkit/__init__.py @@ -4,7 +4,7 @@ """ __author__ = 'Tikhon Petrishchev' -__version__ = '2.0.2' +__version__ = '2.0.3' from speechkit._auth import Session from speechkit._recognition.streaming_recognition import DataStreamingRecognition