stem is a Python controller library for Tor
stem is compatible with python 2.6+ (including python 3)
Having Tor installed is not required for building,
but obviously it is for actually using this library.
The tor installation does not have to be from SBo.