speechkit
Advanced tools
+10
-5
| Metadata-Version: 2.1 | ||
| Name: speechkit | ||
| Version: 2.0.3 | ||
| Version: 2.0.4 | ||
| Summary: Python SDK for Yandex Speechkit API. | ||
@@ -35,3 +35,3 @@ Home-page: https://github.com/TikhonP/yandex-speechkit-lib-python | ||
|   [](https://travis-ci.com/TikhonP/yandex-speechkit-lib-python) [](https://pyup.io/repos/github/TikhonP/yandex-speechkit-lib-python/) [](https://codecov.io/gh/tikhonp/yandex-speechkit-lib-python) | ||
| [](https://pip.pypa.io/en/stable/?badge=stable) | ||
| [](https://pip.pypa.io/en/stable/?badge=stable) [](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_shield) | ||
| [](https://pepy.tech/project/speechkit) | ||
@@ -122,3 +122,3 @@ | ||
| synthesizeAudio.synthesize( | ||
| str('/Users/tikhon/Desktop/out.wav'), text='Текст который нужно синтезировать', | ||
| str('/Users/tikhon/Desktop/out.wav'), text='Text that will be synthesised', | ||
| voice='oksana', format='lpcm', sampleRateHertz='16000' | ||
@@ -128,8 +128,13 @@ ) | ||
| # Links | ||
| - [Readthedocs Documentation for this package](https://yandex-speechkit-lib-python.readthedocs.io/en/latest/index.html) | ||
| - [Yandex Speechkit Documentation](https://cloud.yandex.com/en/docs/speechkit/) | ||
| # License | ||
| MIT | ||
| [](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_large) | ||
| Tikhon Petrishchev 2021 | ||
| © Tikhon Petrishchev 2021 - 2022 | ||
+9
-4
@@ -8,3 +8,3 @@ # Yandex SpeechKit Python SDK | ||
|   [](https://travis-ci.com/TikhonP/yandex-speechkit-lib-python) [](https://pyup.io/repos/github/TikhonP/yandex-speechkit-lib-python/) [](https://codecov.io/gh/tikhonp/yandex-speechkit-lib-python) | ||
| [](https://pip.pypa.io/en/stable/?badge=stable) | ||
| [](https://pip.pypa.io/en/stable/?badge=stable) [](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_shield) | ||
| [](https://pepy.tech/project/speechkit) | ||
@@ -95,3 +95,3 @@ | ||
| synthesizeAudio.synthesize( | ||
| str('/Users/tikhon/Desktop/out.wav'), text='Текст который нужно синтезировать', | ||
| str('/Users/tikhon/Desktop/out.wav'), text='Text that will be synthesised', | ||
| voice='oksana', format='lpcm', sampleRateHertz='16000' | ||
@@ -101,6 +101,11 @@ ) | ||
| # Links | ||
| - [Readthedocs Documentation for this package](https://yandex-speechkit-lib-python.readthedocs.io/en/latest/index.html) | ||
| - [Yandex Speechkit Documentation](https://cloud.yandex.com/en/docs/speechkit/) | ||
| # License | ||
| MIT | ||
| [](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_large) | ||
| Tikhon Petrishchev 2021 | ||
| © Tikhon Petrishchev 2021 - 2022 |
+1
-1
| [metadata] | ||
| name = speechkit | ||
| version = 2.0.3 | ||
| version = 2.0.4 | ||
| author = Tikhon Petrishchev | ||
@@ -5,0 +5,0 @@ author_email = tikhon.petrishchev@gmail.com |
| Metadata-Version: 2.1 | ||
| Name: speechkit | ||
| Version: 2.0.3 | ||
| Version: 2.0.4 | ||
| Summary: Python SDK for Yandex Speechkit API. | ||
@@ -35,3 +35,3 @@ Home-page: https://github.com/TikhonP/yandex-speechkit-lib-python | ||
|   [](https://travis-ci.com/TikhonP/yandex-speechkit-lib-python) [](https://pyup.io/repos/github/TikhonP/yandex-speechkit-lib-python/) [](https://codecov.io/gh/tikhonp/yandex-speechkit-lib-python) | ||
| [](https://pip.pypa.io/en/stable/?badge=stable) | ||
| [](https://pip.pypa.io/en/stable/?badge=stable) [](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_shield) | ||
| [](https://pepy.tech/project/speechkit) | ||
@@ -122,3 +122,3 @@ | ||
| synthesizeAudio.synthesize( | ||
| str('/Users/tikhon/Desktop/out.wav'), text='Текст который нужно синтезировать', | ||
| str('/Users/tikhon/Desktop/out.wav'), text='Text that will be synthesised', | ||
| voice='oksana', format='lpcm', sampleRateHertz='16000' | ||
@@ -128,8 +128,13 @@ ) | ||
| # Links | ||
| - [Readthedocs Documentation for this package](https://yandex-speechkit-lib-python.readthedocs.io/en/latest/index.html) | ||
| - [Yandex Speechkit Documentation](https://cloud.yandex.com/en/docs/speechkit/) | ||
| # License | ||
| MIT | ||
| [](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_large) | ||
| Tikhon Petrishchev 2021 | ||
| © Tikhon Petrishchev 2021 - 2022 | ||
@@ -7,3 +7,3 @@ """ | ||
| __author__ = 'Tikhon Petrishchev' | ||
| __version__ = '2.0.3' | ||
| __version__ = '2.0.4' | ||
@@ -10,0 +10,0 @@ from speechkit._auth import Session |
@@ -218,3 +218,3 @@ import functools | ||
| @functools.cached_property | ||
| @property | ||
| def header(self): | ||
@@ -232,3 +232,3 @@ """ | ||
| @functools.cached_property | ||
| @property | ||
| def streaming_recognition_header(self): | ||
@@ -247,4 +247,4 @@ """ | ||
| @functools.cached_property | ||
| @property | ||
| def auth_method(self): | ||
| return self._auth_method |
@@ -9,2 +9,7 @@ import os | ||
| def get_private_key(): | ||
| with open('../YANDEX_PRIVATE_KEY.txt', 'rb') as f: | ||
| return f.read() | ||
| class GenerateJwtTestCase(unittest.TestCase): | ||
@@ -14,3 +19,3 @@ def test_generating(self): | ||
| key_id = os.environ.get('YANDEX_KEY_ID') | ||
| private_key = os.environ.get('YANDEX_PRIVATE_KEY').replace('\\n', '\n').encode() | ||
| private_key = get_private_key() | ||
| jwt = generate_jwt(service_account_id, key_id, private_key) | ||
@@ -38,3 +43,3 @@ self.assertIsInstance(jwt, str) | ||
| key_id = os.environ.get('YANDEX_KEY_ID') | ||
| private_key = os.environ.get('YANDEX_PRIVATE_KEY').replace('\\n', '\n').encode() | ||
| private_key = get_private_key() | ||
| jwt = generate_jwt(service_account_id, key_id, private_key) | ||
@@ -74,3 +79,3 @@ | ||
| key_id = os.environ.get('YANDEX_KEY_ID') | ||
| private_key = os.environ.get('YANDEX_PRIVATE_KEY').replace('\\n', '\n').encode() | ||
| private_key = get_private_key() | ||
| jwt = generate_jwt(service_account_id, key_id, private_key) | ||
@@ -77,0 +82,0 @@ |
@@ -12,2 +12,7 @@ import os | ||
| def get_private_key(): | ||
| with open('../YANDEX_PRIVATE_KEY.txt', 'rb') as f: | ||
| return f.read() | ||
| class RecognizeLongAudio(unittest.TestCase): | ||
@@ -27,3 +32,3 @@ def setUp(self): | ||
| key_id = os.environ.get('YANDEX_KEY_ID') | ||
| private_key = os.environ.get('YANDEX_PRIVATE_KEY').replace('\\n', '\n').encode() | ||
| private_key = get_private_key() | ||
| jwt = generate_jwt(service_account_id, key_id, private_key) | ||
@@ -39,3 +44,3 @@ | ||
| key_id = os.environ.get('YANDEX_KEY_ID') | ||
| private_key = os.environ.get('YANDEX_PRIVATE_KEY').replace('\\n', '\n').encode() | ||
| private_key = get_private_key() | ||
| jwt = generate_jwt(service_account_id, key_id, private_key) | ||
@@ -42,0 +47,0 @@ |
@@ -11,2 +11,7 @@ import os | ||
| def get_private_key(): | ||
| with open('../YANDEX_PRIVATE_KEY.txt', 'rb') as f: | ||
| return f.read() | ||
| class RecognizeShortAudioTestCaseApiKey(unittest.TestCase): | ||
@@ -43,3 +48,3 @@ def setUp(self) -> None: | ||
| key_id = os.environ.get('YANDEX_KEY_ID') | ||
| private_key = os.environ.get('YANDEX_PRIVATE_KEY').replace('\\n', '\n').encode() | ||
| private_key = get_private_key() | ||
| jwt = generate_jwt(service_account_id, key_id, private_key) | ||
@@ -46,0 +51,0 @@ |
@@ -9,2 +9,7 @@ import os | ||
| def get_private_key(): | ||
| with open('../YANDEX_PRIVATE_KEY.txt', 'rb') as f: | ||
| return f.read() | ||
| class DataStreamingRecognitionTestCase(TestCase): | ||
@@ -14,3 +19,3 @@ def setUp(self) -> None: | ||
| key_id = os.environ.get('YANDEX_KEY_ID') | ||
| private_key = os.environ.get('YANDEX_PRIVATE_KEY').replace('\\n', '\n').encode() | ||
| private_key = get_private_key() | ||
@@ -17,0 +22,0 @@ jwt = generate_jwt(service_account_id, key_id, private_key) |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
188324
1.05%2571
0.47%