Projects / txtorcon


txtorcon is a Twisted-based asynchronous Tor control protocol implementation. Twisted is an event-driven networking engine written in Python, and Tor is an onion-routing network designed to improve people’s privacy and security on the Internet. It includes unit-tests with 96%+ coverage, multiple examples, and documentation. There are abstractions to track Tor configuration and state (circuits, streams), launch private instances, support Hidden Service, and more.

Operating Systems

Recent releases

  •  11 Feb 2014 07:31

    Release Notes: This release fixed quite a few minor bugs, simplified GeoIP handling (with support for both pre- and post 0.3 pygeoip APIs), added a tutorial-style walkthrough, made available a "wheel" distribution, and uses "twine" to do the uploads.

    •  12 May 2013 06:12

      Release Notes: API change: ICircuitListener.circuit_failed, .circuit_closed and IStreamListener.stream_failed, .stream_closed, and .stream_detach all include any keywords in the notification method. Several cleanups + new example from lukaslueg (now pep8 clean!) launch_tor() can take a timeout (hellais); ipaddr is really optional now; TorState can create circuits without an explicit path; passwords use a password callback (possibly Deferred);

      •  22 Nov 2012 00:32

        Release Notes: The config object is now hooked up correctly after launch_tor(). The data_dir provided to TCPHiddenServiceEndpoint is now handled properly. A .tac example was provided. TorConfig().hiddenservices.append(hs) now works properly with no attached protocol.

        •  12 Oct 2012 15:48

          Release Notes: This release adds Debian packaging (mmaker), fully removes psutil, changes the API for launch_tor() to use TorConfig instead of args, makes work properly with no connected Tor, fixes incorrect handling of 650 immediately after connection, adds pep8 compliance, uses assertEqual in tests, makes messages with embedded keywords work properly, fixes a bug with and pip, consolidates requirements (from aagbsn), increases test coverage, adds various minor fixes, and uses https URIs for ReadTheDocs.


          Project Spotlight


          A Fluent OpenStack client API for Java.


          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.