The Oculus Rift is a virtual reality headset.
The Oculus Rift images show a single screen split in half, with each half presented to each eye separately. This means you have to present two slightly different images on the two halves of the screen in order to render it three-dimensional. To render a two-dimensional image, copy what is on the left side of the screen to the corresponding position on the right side of the screen.
The Occulus Rift simply acts as a second monitor. So there are no drivers or accompanying software to program with it. You could use PsychoPy, OpenSesame, MATLAB, etc. to program your experiments, and then display them through the Rift instead of your monitor.