pypi SpeechRecognition 3.12.0
Version 3.12.0

5 days ago

SpeechRecognition 3.12.0 was out🎉
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 #797 & #803)
    • Use with an environment variable GROQ_API_KEY
  • Rename to recognizer_instance.recognize_openai() (Deprecate recognizer_instance.recognize_whisper_api()) (@ftnext in #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 #802, Idea from @wronkiew #676)
  • Decision: make the responsibility of checking environment variables each library (not SpeechRecognition) (@ftnext in #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 #781
  • Run tests on Python 3.13 (excluding whisper-local) by @ftnext in #785

Improvement

Cleanup extras

Others

  • Install PyAudio in unittest Action by @ftnext in #774
  • Adopt pytest by @ftnext in #779
  • Fix "SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated" by @ftnext in #773

Full Changelog: 3.11.0...3.12.0

Don't miss a new SpeechRecognition release

NewReleases is sending notifications on new releases.