Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/a/n/Anomos-HEAD/Anomos/download.py   Anomos(Download)
import Anomos.Crypto
 
from Anomos.EventHandler import EventHandler
 
from M2Crypto.SSL import SSLError
    def __init__(self, config, doneflag, listen_fail_ok=False):
        self.config = dict(config)
        Anomos.Crypto.init(self.config['data_dir'])
        self.cert_flag = threading.Event()
        self.event_handler = EventHandler(doneflag)

src/a/n/Anomos-HEAD/Anomos/track.py   Anomos(Download)
import Anomos.Crypto
 
from Anomos.EventHandler import EventHandler
from Anomos.HTTPS import HTTPSServer
from Anomos.NatCheck import NatCheck
    Anomos.Crypto.init(config['data_dir'])
    servercert = Anomos.Crypto.Certificate(loc="server", tracker=True, ephemeral=False)
    e = EventHandler()
    t = Tracker(config, servercert, e.schedule)
    try:

src/a/n/Anomos-HEAD/Anomos/TwistedServer.py   Anomos(Download)
from Anomos.track import defaults, isotime, Tracker
import Anomos.Crypto
from Anomos.EventHandler import EventHandler
from Anomos import LOG as log