'joint speaker diarization and speaker recognition python

so what i am looking for is a python code to recognize who is speaking in an audio file and transcribe it accordingly. i am using google speech recognition for the transcription. but don't know what to use for the diarization and how to join them together. please lemme know if you have any questions. ex: person1:hey,how are you person2: I'm good, what about you person 1:all good, thanks person3 : what re you guys doing tonight ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source