New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

speechkit

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speechkit - pypi Package Compare versions

Comparing version
2.0.3
to
2.0.4
+10
-5
PKG-INFO
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

![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)
[![Documentation Status](https://readthedocs.org/projects/yandex-speechkit-lib-python/badge/?version=latest)](https://pip.pypa.io/en/stable/?badge=stable) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_shield)
[![Downloads](https://pepy.tech/badge/speechkit)](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
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_large)
Tikhon Petrishchev 2021
© Tikhon Petrishchev 2021 - 2022

@@ -8,3 +8,3 @@ # Yandex SpeechKit Python SDK

![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)
[![Documentation Status](https://readthedocs.org/projects/yandex-speechkit-lib-python/badge/?version=latest)](https://pip.pypa.io/en/stable/?badge=stable) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_shield)
[![Downloads](https://pepy.tech/badge/speechkit)](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
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_large)
Tikhon Petrishchev 2021
© Tikhon Petrishchev 2021 - 2022
[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

![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)
[![Documentation Status](https://readthedocs.org/projects/yandex-speechkit-lib-python/badge/?version=latest)](https://pip.pypa.io/en/stable/?badge=stable) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python?ref=badge_shield)
[![Downloads](https://pepy.tech/badge/speechkit)](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
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FTikhonP%2Fyandex-speechkit-lib-python.svg?type=large)](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)