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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/o/p/OpenBazaar-HEAD/node/tornadoloop.py   OpenBazaar(Download)
from zmq.eventloop import ioloop
ioloop.install()
from crypto2crypto import CryptoTransportLayer
from market import Market
from ws import WebSocketHandler
    def __init__(self, my_market_ip, my_market_port, seed_uri, market_id):
 
        self.transport = CryptoTransportLayer(my_market_ip,
                                              my_market_port,
                                              market_id)

src/g/a/gateway-HEAD/daemon/gateway.py   gateway(Download)
from twisted.internet import reactor
TwistedIOLoop().install()
from crypto2crypto import CryptoTransportLayer
 
from tornado.options import define, options, parse_command_line
        self.obelisk_handler = obelisk_handler.ObeliskHandler(client)
        self.brc_handler = broadcast.BroadcastHandler()
        self.p2p = CryptoTransportLayer(config.get('p2p-port', 8889), config.get('external-ip', '127.0.0.1'))
        self.p2p.join_network(config.get('seeds', []))
        self.json_chan_handler = jsonchan.JsonChanHandler(self.p2p)