I want to develop some plugins for python scanning, but the documentation is too simple for me

I am a security tester and I am using the sonar community edition. I hope to add some python security scanning rules based on the existing rules, but due to my poor java foundation (approximately no foundation) and brief official documentation, And it’s hard to find articles on python language plugin development on the Internet. Can you provide me with some information or more friendly official documents so that I can understand how to write the interface of python custom rules. Thinks!!!