p2pBandwidthLatencyTest in python

I have been asked to find python test code for p2pBandwidthLatencyTest . CUDA-11.2 has .cu code for the same under
NVIDIA_CUDA-11.2_Samples/1_Utilities.

The python code is necessary to integrate the bandwidth test with a test framework that is written in python.

Any help will be appreciated.