Did I find the right examples for you? yes no

All Samples(17)  |  Call(0)  |  Derive(0)  |  Import(17)
Library to control Tor processes.

This library handles sending commands, parsing responses, and delivering
events to and from the control port. The basic usage is to create a
socket, wrap that in a TorCtl.Connection, and then add an EventHandler
to that connection. For a simple example that prints our BW events (events
that provide the amount of traffic going over tor) see 'example.py'.

Note that the TorCtl.Connection is fully compatible with the more
advanced EventHandlers in TorCtl.PathSupport (and of course any other(more...)

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/site-packages/pytorctl/example.py   GlobaLeaks-0.1(Download)
 
import time
import TorCtl
 
class BandwidthListener(TorCtl.PostEventListener):

src/t/o/torctl-HEAD/example.py   torctl(Download)
 
import time
import TorCtl
 
class BandwidthListener(TorCtl.PostEventListener):

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/site-packages/pytorctl/StatsSupport.py   GlobaLeaks-0.1(Download)
import traceback
 
import TorUtil, PathSupport, TorCtl
from TorUtil import *
from PathSupport import *

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/site-packages/pytorctl/SQLSupport.py   GlobaLeaks-0.1(Download)
import math
 
import PathSupport, TorCtl
from TorUtil import *
from PathSupport import *

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/site-packages/pytorctl/ScanSupport.py   GlobaLeaks-0.1(Download)
import time
import shutil
import TorCtl
 
from TorUtil import plog

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/site-packages/pytorctl/PathSupport.py   GlobaLeaks-0.1(Download)
"""
 
import TorCtl
import re
import struct

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

src/p/y/pytorctl-HEAD/TorCtl/StatsSupport.py   pytorctl(Download)
import traceback
 
import TorUtil, PathSupport, TorCtl
from TorUtil import *
from PathSupport import *

src/p/y/pytorctl-HEAD/TorCtl/SQLSupport.py   pytorctl(Download)
import math
 
import PathSupport, TorCtl
from TorUtil import *
from PathSupport import *

src/p/y/pytorctl-HEAD/TorCtl/ScanSupport.py   pytorctl(Download)
import time
import shutil
import TorCtl
 
from TorUtil import plog

  1 | 2  Next