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