Stem

Stem is a Python (programming language) controller library for core Tor. If you want to control core Tor with python, this is for you.