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

All Samples(10)  |  Call(4)  |  Derive(0)  |  Import(6)
Create a Base Web Server

Create a Base Web Server (HTTP) bound to the IP Address / Port or
UNIX Socket specified by the 'bind' parameter.

:ivar server: Reference to underlying Server Component

:param bind: IP Address / Port or UNIX Socket to bind to.
:type bind: Instance of int, list, tuple or str
(more...)

src/c/o/cocy-0.1.12/sampleapps/binary_light/server.py   cocy(Download)
from circuits.core.components import Component
import sys
from circuits.web.servers import BaseServer
from cocy.upnp import UPnPDeviceServer
import os

src/c/i/circuits-minpor-0.3/circuits_minpor/portal.py   circuits-minpor(Download)
from circuits.web import tools
from circuits.core.components import BaseComponent
from circuits.web.servers import BaseServer
from circuits.web.events import WebEvent
import os
        self._portlets = []
        if server is None:
            server = BaseServer(("", 4444), channel=self.channel)
        else:
            self.channel = server.channel

src/c/o/cocy-0.1.12/cocy/upnp/device_server.py   cocy(Download)
from circuits.core.components import BaseComponent
from circuits.core.handlers import handler
from circuits.web.servers import BaseServer
from circuits_bricks.web import ScopeDispatcher, ScopedChannel
from circuits.web.controllers import BaseController, expose

src/c/i/circuits-bricks-0.3/tests/ScopeServers.py   circuits-bricks(Download)
.. moduleauthor:: mnl
"""
from circuits.web.servers import BaseServer
from circuits.web.controllers import BaseController, expose, Controller
from circuits.core.manager import Manager
    def setUp(self):
        self.manager = Manager()
        # Debugger().register(self.manager)
 
        self.server1 = BaseServer(("localhost", 8000), channel="site1") 
        self.server1.register(self.manager);
        ScopeDispatcher(channel="site1").register(self.server1)
        Root1().register(self.manager)
 
        self.server2 = BaseServer(("localhost", 8001), channel="site2") 

src/c/i/circuits-minpor-0.3/tests/TestPortal.py   circuits-minpor(Download)
from circuits.core.components import Component
import sys
from circuits.web.servers import BaseServer
import os
from circuits_minpor import Portal

src/c/i/circuits-bricks-0.3/tests/WebClient.py   circuits-bricks(Download)
from circuits_bricks.web.client import Client, Request
from circuits.core.manager import Manager
from circuits.web.servers import BaseServer
from circuits.web.controllers import BaseController, expose
from circuits.web.dispatchers.dispatcher import Dispatcher
    def setUp(self):
        self.manager = Manager()
        # Debugger().register(self.manager)
 
        self.server = BaseServer(("localhost", 0))