I recently made this python speech recognition code. It's a simple , little project ment to teach the basics of speech recognition using python. It uses the SpeechRecognition library by Anthony Zhang and a text-to-speech (TTS) element powered by the pyttx3 library made by Natesh Bhatt. Below is the documentation to go along with the project. And here is the github repo Simple Python Speech Recognition by Prabal Pratap Singh Rawat