Here you can find some example code how to use the pypet. All examples were written and tested with python 2.7 and most of them also work under python 3.