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 (bullseye, buster, bookworm), is in PyPI, is fast and lightweight (ohcount) and follows pep8.

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