How to perform perspective projection using VTK (Python)?

I found an example for perspective projection using C++ here, is there an equivalent Python example/can someone guide me in the right direction on how to get started with this? I want to be able to project a 3D volume.