top menu with python stubs