Skip to content

Commit

Permalink
Update version to v2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tikhonp committed Feb 14, 2022
1 parent d32f144 commit c9d8fa7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 19 deletions.
28 changes: 15 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/).
<div align="center">

![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)

</div>

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

Expand All @@ -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:

Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx==4.1.2
sphinx_markdown_builder==0.5.4
sphinx-rtd-theme==0.5.2
sphinx>=4.1.2
sphinx_markdown_builder>=0.5.4
sphinx-rtd-theme>=0.5.2
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ boto3
requests
grpcio-tools>=1.39.0
pyjwt>=2.1.0
cryptography
cryptography
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/speechkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9d8fa7

Please sign in to comment.