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

All Samples(14)  |  Call(0)  |  Derive(8)  |  Import(6)

src/c/o/cocy-0.1.12/sampleapps/media_renderer/server.py   cocy(Download)
 
from circuits.core.debugger import Debugger
from circuits.core.components import Component
import sys
from cocy.upnp import UPnPDeviceServer
class ErrorHandler(Component):
    def exception(self, error_type, value, traceback, handler=None):
        sys.exit();
 
if __name__ == '__main__':

src/c/o/cocy-0.1.12/sampleapps/binary_light/server.py   cocy(Download)
from cocy.upnp.device_directory import UPnPDeviceDirectory
from circuits.core.debugger import Debugger
from circuits.core.components import Component
import sys
from circuits.web.servers import BaseServer
class ErrorHandler(Component):
    def exception(self, error_type, value, traceback, handler=None):
        sys.exit();
 
if __name__ == '__main__':

src/p/y/python-ardroneapi-HEAD/ardroneapi/experiments/e.py   python-ardroneapi(Download)
from circuits.core.components import Component
from circuits.core.debugger import Debugger
from circuits.core.events import Event
from circuits.core.handlers import handler
from circuits.io import stdin
class RawNavdataHandler(Component):
 
    @handler('rawnavdatareceived')
    def handle_raw_navdata(self, data):
        print "HANDLE DATA:"
        print data
        print "===="
 
 
class NavdataComponent(Component):

src/c/i/circuits-minpor-0.3/tests/TestPortal.py   circuits-minpor(Download)
"""
from circuits.core.debugger import Debugger
from circuits.core.components import Component
import sys
from circuits.web.servers import BaseServer
class ErrorHandler(Component):
    def exception(self, error_type, value, traceback, handler=None):
        sys.exit();
 
if __name__ == '__main__':

src/c/i/circuits-bricks-0.3/tests/WebSocket.py   circuits-bricks(Download)
"""
.. codeauthor: mnl
"""
import unittest
from circuits.core.components import Component
class Echo(Component):
 
    channel = "ws"
 
    def read(self, sock, data):
class WSClient(Component):
 
    response = None
 
    def read(self, data):

src/c/i/circuits-bricks-0.3/tests/Timer.py   circuits-bricks(Download)
from datetime import datetime, timedelta
from circuits.core.events import Event
from circuits.core.components import Component
from circuits_bricks.core.timers import Timer
from tests.helpers import wait_for
 
class Test(Event):
    """Test Event"""
 
class App(Component):