Speechrecognition

Latest version: v3.12.0

Safety actively analyzes 688775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

3.12.0

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed

New features

Groq Support

* `recognizer_instance.recognize_groq()` (ftnext in https://github.com/Uberi/speech_recognition/pull/797 & https://github.com/Uberi/speech_recognition/pull/803)
* Use with an environment variable `GROQ_API_KEY`
* Rename to `recognizer_instance.recognize_openai()` (Deprecate `recognizer_instance.recognize_whisper_api()`) (ftnext in https://github.com/Uberi/speech_recognition/pull/801)
* SpeechRecognition supports Whisper API served OpenAI and Groq
* Use with an environment variable `OPENAI_API_KEY`
* OpenAI's optional parameters partially supported (ftnext in https://github.com/Uberi/speech_recognition/pull/802, Idea from wronkiew https://github.com/Uberi/speech_recognition/pull/676)
* Decision: make the responsibility of checking environment variables each library (not SpeechRecognition) (ftnext in https://github.com/Uberi/speech_recognition/pull/804)
* `export XXX_API_KEY=...` or `os.environ["XXX_API_KEY"] = ...`

Python 3.13 Support (experimental)

* Install aifc and audioop in Python 3.13 by ftnext in https://github.com/Uberi/speech_recognition/pull/781
* Run tests on Python 3.13 (excluding whisper-local) by ftnext in https://github.com/Uberi/speech_recognition/pull/785

Improvement

Cleanup extras

* Tidy dependencies: requests by ftnext in https://github.com/Uberi/speech_recognition/pull/780
* Extract pocketsphinx extra by ftnext in https://github.com/Uberi/speech_recognition/pull/787

Others

* Install PyAudio in unittest Action by ftnext in https://github.com/Uberi/speech_recognition/pull/774
* Adopt pytest by ftnext in https://github.com/Uberi/speech_recognition/pull/779
* Fix "SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated" by ftnext in https://github.com/Uberi/speech_recognition/pull/773

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.11.0...3.12.0

3.11.0

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
New features
* Add `stream=` kwarg to `Recognizer.listen` by clusterfudge in https://github.com/Uberi/speech_recognition/pull/757

Improvements
* Support Python maintenance: Add 3.12, Drop 3.8 by ftnext in https://github.com/Uberi/speech_recognition/pull/770
* Remove deprecated distutils ftnext in https://github.com/Uberi/speech_recognition/pull/768 and https://github.com/Uberi/speech_recognition/pull/769
* Support `pip install SpeechRecognition[audio]`

New Contributors
* clusterfudge made their first contribution in https://github.com/Uberi/speech_recognition/pull/757

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.4...3.11.0

3.10.4

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
New features
* Support M1 Mac by ftnext in https://github.com/Uberi/speech_recognition/pull/745
* Enable to pass SSL endpoint to cope with WinError 10054 by ftnext in https://github.com/Uberi/speech_recognition/pull/754
* Thanks to Hexer-7 https://github.com/Uberi/speech_recognition/pull/751

Improvements
* Migrate from TravisCI by ftnext in https://github.com/Uberi/speech_recognition/pull/741 https://github.com/Uberi/speech_recognition/pull/742
* Fix code according to flake8
* Run unittests on Windows in CI by ftnext in https://github.com/Uberi/speech_recognition/pull/746

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.3...3.10.4

3.10.3

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed

Improvements

* Tweak installation by ftnext in https://github.com/Uberi/speech_recognition/pull/740
* Support `pip install SpeechRecognition[whisper-local]`
* Support `pip install SpeechRecognition[whisper-api]`
* Add tests with mock by ftnext (738, 739)

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.2...3.10.3

3.10.2

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
Bugfixes
* Updated to the latest OpenAI API changes, and fixed 720 by herrjemand in https://github.com/Uberi/speech_recognition/pull/729

New Contributors
* herrjemand made their first contribution in https://github.com/Uberi/speech_recognition/pull/729

Thanks to all contributors!

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.1...3.10.2

3.10.1

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
New features
* Support Python 3.11

Improvements
* Refactor recognize_google by ftnext in https://github.com/Uberi/speech_recognition/pull/721

Thanks to all contributors!

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.0...3.10.1

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.