added python support (untested)