Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
Support classes for statisics gathering

The StatsSupport package contains several classes that extend
PathSupport to gather continuous statistics on the Tor network.

The main entrypoint is to extend or create an instance of the
StatsHandler class. The StatsHandler extends from
TorCtl.PathSupport.PathBuilder, which is itself a TorCtl.EventHandler.
The StatsHandler listens to CIRC and STREAM events and gathers all
manner of statics on their creation and failure before passing the(more...)

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/site-packages/pytorctl/GeoIPSupport.py   GlobaLeaks-0.1(Download)
import socket
import TorCtl
import StatsSupport
 
from TorUtil import plog

src/p/y/pytorctl-HEAD/TorCtl/GeoIPSupport.py   pytorctl(Download)
import socket
import TorCtl
import StatsSupport
 
from TorUtil import plog

src/t/o/torctl-HEAD/GeoIPSupport.py   torctl(Download)
import socket
import TorCtl
import StatsSupport
 
from TorUtil import plog