Did I find the right examples for you? yes no

All Samples(278)  |  Call(0)  |  Derive(0)  |  Import(278)
Component architecture for Twisted, based on Zope3 components.

Using the Zope3 API directly is strongly recommended. Everything
you need is in the top-level of the zope.interface package, e.g.::

   from zope.interface import Interface, implements

   class IFoo(Interface):
       pass
(more...)

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/conch/examples/sshsimpleserver.py   hortonworks-sandbox(Download)
        pass
 
from twisted.python import components
components.registerAdapter(ExampleSession, ExampleAvatar, session.ISession)
 

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/conch/examples/sshsimpleserver.py   oh-mainline(Download)
        pass
 
from twisted.python import components
components.registerAdapter(ExampleSession, ExampleAvatar, session.ISession)
 

src/t/w/Twisted-13.2.0/doc/conch/examples/sshsimpleserver.py   Twisted(Download)
        pass
 
from twisted.python import components
components.registerAdapter(ExampleSession, ExampleAvatar, session.ISession)
 

src/d/i/divmod.org-HEAD/Nevow/examples/advanced_manualform/advanced_manualform.py   divmod.org(Download)
from time import time as now
 
import twisted.python.components as tpc
 
from nevow import rend, inevow, url, util, loaders, tags as t

src/n/e/Nevow-0.10.0/examples/advanced_manualform/advanced_manualform.py   Nevow(Download)
from time import time as now
 
import twisted.python.components as tpc
 
from nevow import rend, inevow, url, util, loaders, tags as t

src/b/l/blag-examples-HEAD/serving-git/simplegit.py   blag-examples(Download)
from twisted.cred.portal import IRealm, Portal
from twisted.internet import reactor
from twisted.python import components, log
from zope import interface
log.startLogging(sys.stderr)

src/b/l/blag-examples-HEAD/serving-git/gitssh.py   blag-examples(Download)
from twisted.cred.portal import IRealm, Portal
from twisted.internet import reactor
from twisted.python import components, log
from zope import interface
log.startLogging(sys.stderr)

src/z/o/zope.app.twisted-3.5.0/src/twisted/web/server.py   zope.app.twisted(Download)
from twisted.internet import reactor, protocol, defer, address, task
from twisted.web import http
from twisted.python import log, reflect, roots, failure, components
from twisted import copyright
from twisted.cred import util

src/z/o/zope.app.twisted-3.5.0/src/twisted/web/static.py   zope.app.twisted(Download)
# Twisted Imports
from twisted.web import http
from twisted.python import threadable, log, components, failure, filepath
from twisted.internet import abstract, interfaces, defer
from twisted.spread import pb

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/web/server.py   hortonworks-sandbox(Download)
from twisted.internet import defer, address, task
from twisted.web import http
from twisted.python import log, reflect, failure, components
from twisted import copyright
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next