ebpf.py is the code I write during my talk at eBPF Summit 2020: slides. I've also done a similar talk using Go, and you'll find the code here.
You'll find more Python code examples in this gist
eBPF Superpowers presentation at DockerCon: YouTube and slides