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

All Samples(43)  |  Call(0)  |  Derive(23)  |  Import(20)
This is the base class for all components in a circuits based application.
Components can (and should, except for root components) be registered
with a parent component.

BaseComponents can declare methods as event handlers using the
handler decoration (see :func:`circuits.core.handlers.handler`). The
handlers are invoked for matching events from the
component's channel (specified as the component's ``channel`` attribute).

BaseComponents inherit from :class:`circuits.core.manager.Manager`.(more...)

src/c/i/circuits-3.0.0.dev/examples/testing/pytest/conftest.py   circuits(Download)
 
from circuits.core.manager import TIMEOUT
from circuits import handler, BaseComponent, Debugger, Manager
 
 
class Watcher(BaseComponent):

src/c/i/circuits-3.0.0.dev/circuits/web/dispatchers/xmlrpc.py   circuits(Download)
 
from circuits.six import binary_type
from circuits import handler, Event, BaseComponent
 
 
class rpc(Event):
    """rpc Event"""
 
 
class XMLRPC(BaseComponent):

src/c/i/circuits-3.0.0.dev/circuits/web/dispatchers/jsonrpc.py   circuits(Download)
 
from circuits.six import binary_type
from circuits import handler, Event, BaseComponent
 
 
class rpc(Event):
    """RPC Event"""
 
 
class JSONRPC(BaseComponent):

src/c/i/circuits-3.0.0.dev/circuits/web/dispatchers/dispatcher.py   circuits(Download)
from circuits.six import text_type
 
from circuits import handler, BaseComponent, Event
 
from circuits.web.utils import parse_qs
class Dispatcher(BaseComponent):
 
    channel = "web"
 
    def __init__(self, **kwargs):

src/c/i/circuits-3.0.0.dev/circuits/web/websockets/dispatcher.py   circuits(Download)
from circuits.net.events import connect
from circuits.web.errors import httperror
from circuits import handler, BaseComponent
from circuits.protocols.websocket import WebSocketCodec
 
 
class WebSocketsDispatcher(BaseComponent):

src/c/i/circuits-3.0.0.dev/circuits/web/dispatchers/virtualhosts.py   circuits(Download)
    from urlparse import urljoin  # NOQA
 
from circuits import handler, BaseComponent
 
 
class VirtualHosts(BaseComponent):

src/k/d/kdb-1.0.2/kdb/core.py   kdb(Download)
 
from circuits.protocols.irc import quit
from circuits import handler, BaseComponent, Timer
 
 
class Core(BaseComponent):
 
    channel = "core"
 
    def init(self, config):

src/c/i/circuits-3.0.0.dev/circuits/node/server.py   circuits(Download)
from circuits.net.events import write
from circuits.net.sockets import TCPServer
from circuits import handler, BaseComponent
 
from .utils import load_event, dump_value
 
DELIMITER = b"\r\n\r\n"
 
 
class Server(BaseComponent):

src/c/i/circuits-3.0.0.dev/circuits/node/node.py   circuits(Download)
from .server import Server
 
from circuits import handler, BaseComponent
 
 
class Node(BaseComponent):

src/c/i/circuits-3.0.0.dev/circuits/node/client.py   circuits(Download)
 
from circuits.net.sockets import TCPClient
from circuits import handler, BaseComponent
from circuits.net.events import close, connect, write
 
class Client(BaseComponent):
    """Client
 
    ...
    """

  1 | 2  Next