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

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)
The application component is intended to be used as root component
of an application. It creates a :class:`circuits_bricks.app.Configuration`
and a :class:`util.logger.Logger` child component.

The :class``Application`` component creates an application directory 
(as hidden directory
in the user's home directory, using the provided application name).
The configuration is stored as file ``config`` in that directory.

The ``Logger`` is configured as specified by the configuration.(more...)

src/c/o/cocy-0.1.12/sampleapps/media_renderer/server.py   cocy(Download)
from cocy.upnp import UPnPDeviceServer
import os
from circuits_bricks.app import Application
from media_renderer.renderer import DummyPlayer
 
if __name__ == '__main__':
 
    application = Application("CoCy", CONFIG)
    Debugger().register(application)
    ErrorHandler().register(application)

src/c/o/cocy-0.1.12/sampleapps/binary_light/server.py   cocy(Download)
from cocy.upnp import UPnPDeviceServer
import os
from circuits_bricks.app import Application
 
CONFIG = {
if __name__ == '__main__':
 
    application = Application("CoCy", CONFIG)
    Debugger().register(application)
    ErrorHandler().register(application)

src/c/i/circuits-minpor-0.3/tests/TestPortal.py   circuits-minpor(Download)
import os
from circuits_minpor import Portal
from circuits_bricks.app import Application
from circuits_minpor.portlets.helloworld import HelloWorldPortlet
from circuits_minpor.portlets.display import DisplayPortlet
if __name__ == '__main__':
 
    application = Application("TestPortal", CONFIG)
    Debugger().register(application)
    ErrorHandler().register(application)