Пример #1
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedFTP = _tapHelper(
    "Twisted FTP",
    "twisted.tap.ftp",
    "An FTP server.",
    "ftp")
Пример #2
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedSOCKS = _tapHelper(
    "Twisted SOCKS",
    "twisted.tap.socks",
    "A SOCKSv4 proxy service.",
    "socks")
Пример #3
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedWeb = _tapHelper(
    "Twisted Web",
    "twisted.web.tap",
    ("A general-purpose web server which can serve from a "
     "filesystem or application resource."),
    "web")
Пример #4
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedPortForward = _tapHelper(
    "Twisted Port-Forwarding",
    "twisted.tap.portforward",
    "A simple port-forwarder.",
    "portforward")
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedMail = _tapHelper(
    "Twisted Mail",
    "twisted.mail.tap",
    "An email service",
    "mail")
Пример #6
0
from twisted.scripts.mktap import _tapHelper
TwistedManhole = _tapHelper(
    "Twisted Manhole (old)",
    "twisted.tap.manhole",
    "An interactive remote debugger service.",
    "manhole")
Пример #7
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedTelnet = _tapHelper("Twisted Telnet Shell Server", "twisted.tap.telnet",
                           "A simple, telnet-based remote debugging service.",
                           "telnet")
Пример #8
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedWeb = _tapHelper(
    "Twisted Web",
    "twisted.web.tap",
    ("A general-purpose web server which can serve from a "
     "filesystem or application resource."),
    "web")
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from zope.interface import classProvides

from twisted.plugin import IPlugin

from twisted.scripts.mktap import _tapHelper
from twisted.words import iwords

TwistedTOC = _tapHelper(
    "Twisted TOC Server",
    "twisted.words.toctap",
    "An AIM TOC service.",
    "toc")

NewTwistedWords = _tapHelper(
    "New Twisted Words",
    "twisted.words.tap",
    "A modern words server",
    "words")

class RelayChatInterface(object):
    classProvides(IPlugin, iwords.IProtocolPlugin)

    name = 'irc'

    def getFactory(cls, realm, portal):
        from twisted.words import service
        return service.IRCFactory(realm, portal)
    getFactory = classmethod(getFactory)
Пример #10
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedNews = _tapHelper("Twisted News", "twisted.news.tap", "A news server.",
                         "news")
Пример #11
0
from twisted.scripts.mktap import _tapHelper
 
Palaver = _tapHelper(
                "Palaver",
                "palaver.tap",
                "A multi-user chat xmpp/jabber component.",
                "palaver")
Пример #12
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedINETD = _tapHelper("Twisted INETD Server", "twisted.runner.inetdtap",
                          "An inetd(8) replacement.", "inetd")
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedSSH = _tapHelper(
    "Twisted Conch Server",
    "twisted.conch.tap",
    "A Conch SSH service.",
    "conch")

TwistedManhole = _tapHelper(
    "Twisted Manhole (new)",
    "twisted.conch.manhole_tap",
    ("An interactive remote debugger service accessible via telnet "
     "and ssh and providing syntax coloring and basic line editing "
     "functionality."),
    "manhole")
Пример #14
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedNames = _tapHelper(
    "Twisted DNS Server",
    "twisted.names.tap",
    "A domain name server.",
    "dns")
Пример #15
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedINETD = _tapHelper(
    "Twisted INETD Server",
    "twisted.runner.inetdtap",
    "An inetd(8) replacement.",
    "inetd")
Пример #16
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedSSH = _tapHelper("Twisted Conch Server", "twisted.conch.tap",
                        "A Conch SSH service.", "conch")

TwistedManhole = _tapHelper(
    "Twisted Manhole (new)", "twisted.conch.manhole_tap",
    ("An interactive remote debugger service accessible via telnet "
     "and ssh and providing syntax coloring and basic line editing "
     "functionality."), "manhole")
Пример #17
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedFTP = _tapHelper(
    "Twisted FTP",
    "twisted.tap.ftp",
    "An FTP server.",
    "ftp")
Пример #18
0
from twisted.scripts.mktap import _tapHelper

Punjab = _tapHelper("Punjab", "punjab.tap", "A HTTP XMPP client interface",
                    "punjab")
Пример #19
0
# twistedpythy.py: mktap-plugin registrator for TwistedPythy
# Pythy <*****@*****.**>

from twisted.scripts.mktap import _tapHelper

TwistedBank = _tapHelper(
    "Twisted Pythy Demo server",
    "TwistedPythy.tap",
    "An Twisted Pythy service (for Pythy about Python blog).",
    "tpythy")
Пример #20
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedPortForward = _tapHelper(
    "Twisted Port-Forwarding",
    "twisted.tap.portforward",
    "A simple port-forwarder.",
    "portforward")
Пример #21
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedMail = _tapHelper("Twisted Mail", "twisted.mail.tap",
                         "An email service", "mail")
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedNews = _tapHelper(
    "Twisted News",
    "twisted.news.tap",
    "A news server.",
    "news")
Пример #23
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedTelnet = _tapHelper(
    "Twisted Telnet Shell Server",
    "twisted.tap.telnet",
    "A simple, telnet-based remote debugging service.",
    "telnet")
Пример #24
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedSOCKS = _tapHelper("Twisted SOCKS", "twisted.tap.socks",
                          "A SOCKSv4 proxy service.", "socks")
Пример #25
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedManhole = _tapHelper("Twisted Manhole (old)", "twisted.tap.manhole",
                            "An interactive remote debugger service.",
                            "manhole")
Пример #26
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from zope.interface import implements

from twisted.plugin import IPlugin
from twisted.web2.iweb import IResource


class _Web2ResourcePlugin(object):
    implements(IPlugin, IResource)

    def __init__(self, name, className, description):
        self.name = name
        self.className = className
        self.description = description


TestResource = _Web2ResourcePlugin("TestResource",
                                   "twisted.web2.plugin.TestResource",
                                   "I'm a test resource")

from twisted.scripts.mktap import _tapHelper

TwistedWeb2 = _tapHelper('Twisted Web2', 'twisted.web2.tap',
                         ("An HTTP/1.1 web server that can serve from a "
                          "filesystem or application resource."), "web2")
Пример #27
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from zope.interface import classProvides

from twisted.plugin import IPlugin

from twisted.scripts.mktap import _tapHelper
from twisted.words import iwords

TwistedTOC = _tapHelper("Twisted TOC Server", "twisted.words.toctap",
                        "An AIM TOC service.", "toc")

NewTwistedWords = _tapHelper("New Twisted Words", "twisted.words.tap",
                             "A modern words server", "words")


class RelayChatInterface(object):
    classProvides(IPlugin, iwords.IProtocolPlugin)

    name = 'irc'

    def getFactory(cls, realm, portal):
        from twisted.words import service
        return service.IRCFactory(realm, portal)

    getFactory = classmethod(getFactory)


class PBChatInterface(object):
    classProvides(IPlugin, iwords.IProtocolPlugin)
Пример #28
0
from twisted.scripts.mktap import _tapHelper
 	
Punjab = _tapHelper(
 	        "Punjab",
                "punjab.tap",
 	        "A HTTP XMPP client interface",
                "punjab")