txtorcon
Tee Ex Tor Con

txtorcon is a Twisted-based Python asynchronous controller library for Tor. It includes configuration and state-tracking abstractions (all routers, circuits and streams) and utilties to launch tor, among other things. MIT license.
It has good unit-test coverage (), Sphinx-based
documentation,
supports
endpoints
, is in Debian (stretch, jessie
and wheezy-backports),
is in PyPI,
uses Travis for continuous integration (), is fast and
lightweight (ohcount) and follows pep8.
- documentation from ReadTheDocs.org or http://timaq4ygg2iegci7.onion/
- source code from GitHub (or
torsocks git glone http://timaq4ygg2iegci7.onion/txtorcon.git
- demo from asciinema.org
The Tor support currently in Tahoe-LAFS and Crossbar.io is via txtorcon.
Holy fucking shit, the awesomeness of this project cannot be denied! https://t.co/HCxjXkcqoW
— the grugq (@thegrugq) July 23, 2013