[Twisted-Python] Re: Twisted-Python Digest, Vol 17, Issue 13
pooja bector
pbector at yahoo.com
Wed Aug 17 08:21:25 EDT 2005
Hi
Thanks for the reply.I need further clarification on Twisted word chat server.Your previous reply to my query mentions that "Twisted word provides a server that is accessible via IRC and PB.And it does support groups and multilanguages."
I downloaded the implementation from http://twistedmatrix.com/projects/words/
As such there is no "Twisted Word Chat Server " implementation available here.
Could you please suggest that from where can I get the server implementation for it ?
Thanks for your time.
Regards
Pooja
twisted-python-request at twistedmatrix.com wrote:
Send Twisted-Python mailing list submissions to
twisted-python at twistedmatrix.com
To subscribe or unsubscribe via the World Wide Web, visit
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
or, via email, send a message with subject or body 'help' to
twisted-python-request at twistedmatrix.com
You can reach the person managing the list at
twisted-python-owner at twistedmatrix.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Twisted-Python digest..."
Today's Topics:
1. Re: Twisted-Python Digest, Vol 17, Issue 12 (pooja bector)
2. Re: SSL Example? (Eric Hsu)
3. Australian Twisted folk at the OSDC: Melbourne Dec 5th - 7th
2005 (Mary Gardiner)
4. Re: Australian Twisted folk at the OSDC: Melbourne Dec 5th -
7th 2005 (Mary Gardiner)
5. Re: SSL Example? (markw)
----------------------------------------------------------------------
Message: 1
Date: Sun, 14 Aug 2005 11:55:28 -0700 (PDT)
From: pooja bector
Subject: [Twisted-Python] Re: Twisted-Python Digest, Vol 17, Issue 12
To: twisted-python at twistedmatrix.com, exarkun at divmod.com
Message-ID: <20050814185528.49160.qmail at web34312.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi
Thanks for the quick reply.
PLease let me know if the twisted word chat server is available as a software download??
>From where can i download the server and client software?
Thanks
twisted-python-request at twistedmatrix.com wrote:
Send Twisted-Python mailing list submissions to
twisted-python at twistedmatrix.com
To subscribe or unsubscribe via the World Wide Web, visit
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
or, via email, send a message with subject or body 'help' to
twisted-python-request at twistedmatrix.com
You can reach the person managing the list at
twisted-python-owner at twistedmatrix.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Twisted-Python digest..."
Today's Topics:
1. Re: twisted-compliant interactive interpreter (Antony Kummel)
2. Query (pooja bector)
3. SSL Example? (markw)
4. Re: Query (Jp Calderone)
----------------------------------------------------------------------
Message: 1
Date: Sun, 14 Aug 2005 05:15:27 -0700 (PDT)
From: Antony Kummel
Subject: Re: [Twisted-Python] twisted-compliant interactive
interpreter
To: Twisted general discussion
Message-ID: <20050814121527.92362.qmail at web33908.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
Here is a version of PyCrust I hooked up that uses
Manhole. I'm trying to figure out if there's a way to
easily mix together some free tools to make Twisted
development on Windows easier. Comments wanted.
Antony Kummel
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
"""
PyCrust is a python shell and namespace browser application.
tCrust is a version of PyCrust that works with Twisted.
"""
# The next two lines, and the other code below that makes use of
# ``__main__`` and ``original``, serve the purpose of cleaning up the
# main namespace to look as much as possible like the regular Python
# shell environment.
import __main__
original = __main__.__dict__.keys()
__original_author__ = "Patrick K. O'Brien
"
import wx
class App(wx.App):
"""PyCrust standalone application."""
def OnInit(self):
import wx
from wx import py
wx.InitAllImageHandlers()
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# make some adaptations
self.frame = py.crust.CrustFrame(title="Twisted PyCrust!",
InterpClass=self.getInterpClass())
def myOnClose(self, event):
from twisted.internet import reactor
reactor.addSystemEventTrigger('after', 'shutdown', self._OnClose, (None,))
reactor.stop()
self.frame._OnClose = self.frame.OnClose
self.frame.OnClose = myOnClose
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
self.frame.SetSize((800, 600))
self.frame.Show()
self.SetTopWindow(self.frame)
return True
def getInterpClass(self):
import sys
from wx import py
from twisted.conch.manhole import ManholeInterpreter
class ManholeCrustInterpreter(py.interpreter.Interpreter):
"""A version of the PyCrust interpreter that uses the manhole display hook"""
def __init__(self, locals=None, rawin=None,
stdin=sys.stdin, stdout=sys.stdout, stderr=sys.stderr):
py.interpreter.Interpreter.__init__(self, locals, rawin,
stdin, stdout, stderr)
self.manhole = ManholeInterpreter(self, locals)
def addOutput(self, data, async):
self.write(data)
def runcode(self, *a, **kw):
orighook, sys.displayhook = sys.displayhook, self.manhole.displayhook
try:
py.interpreter.Interpreter.runcode(self, *a, **kw)
finally:
sys.displayhook = orighook
return ManholeCrustInterpreter
'''
The main() function needs to handle being imported, such as with the
pycrust script that wxPython installs:
#!/usr/bin/env python
from wx.py.PyCrust import main
main()
'''
def main():
"""The main function for the PyCrust program."""
# Cleanup the main namespace, leaving the App class.
import __main__
md = __main__.__dict__
keepers = original
keepers.append('App')
for key in md.keys():
if key not in keepers:
del md[key]
# Create an application instance.
app = App(0)
# Mimic the contents of the standard Python shell's sys.path.
import sys
if sys.path[0]:
sys.path[0] = ''
# Add the application object to the sys module's namespace.
# This allows a shell user to do:
# >>> import sys
# >>> sys.app.whatever
sys.app = app
del sys
# Cleanup the main namespace some more.
if md.has_key('App') and md['App'] is App:
del md['App']
if md.has_key('__main__') and md['__main__'] is __main__:
del md['__main__']
# Start the wxPython event loop.
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# this is to integrate Twisted and wxPython
from twisted.internet import threadedselectreactor
threadedselectreactor.install()
from twisted.internet import reactor
import wx
reactor.interleave(wx.CallAfter)
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
app.MainLoop()
if __name__ == '__main__':
main()
------------------------------
Message: 2
Date: Sun, 14 Aug 2005 07:11:39 -0700 (PDT)
From: pooja bector
Subject: [Twisted-Python] Query
To: twisted-python at twistedmatrix.com
Message-ID: <20050814141139.57997.qmail at web34305.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi All
I am new to Twisted networks.I read its documentation that it is a network over which we can build network applications like chat server.
I have queries regarding , Twisted Word chat server , written in python.
I just know that it is available under free BSD license.
I want to know that is it available as a free download.Can I download the server and a compatible client ?
are the APIs of the server available?
How many simlutaneuos users does it support.
Does it supports group chat and multilanguage chatting.
Thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20050814/0a106808/attachment-0001.htm
------------------------------
Message: 3
Date: Sun, 14 Aug 2005 18:11:18 +0100
From: markw
Subject: [Twisted-Python] SSL Example?
To: Twisted general discussion
Message-ID:
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Hi,
I am contemplating running XML-RPC over SSL (basically for site to
site process communication over the internet). Has anyone got any
example code that would point me in the right direction (or just some
clues :-) )
cheers
mark
------------------------------
Message: 4
Date: Sun, 14 Aug 2005 13:28:44 -0400
From: Jp Calderone
Subject: Re: [Twisted-Python] Query
To: Twisted general discussion
Message-ID: <20050814172844.3914.304813179.divmod.quotient.4866 at ohm>
Content-Type: text/plain; format=flowed
On Sun, 14 Aug 2005 07:11:39 -0700 (PDT), pooja bector
wrote:
>Hi All
>
>I am new to Twisted networks.I read its documentation that it is a network over which we can build network applications like chat server.
>I have queries regarding , Twisted Word chat server , written in python.
>I just know that it is available under free BSD license.
>I want to know that is it available as a free download.Can I download the server and a compatible client ?
>are the APIs of the server available?
>How many simlutaneuos users does it support.
>Does it supports group chat and multilanguage chatting.
Twisted Words provides a server accessible via IRC and PB. Any IRC client should be able to connect to it. The PB interface allows for easy programmatic access. It does support groups. It uses unicode internally, and transcodes messages received/delivered via IRC. The PB interface is just natively unicode.
It is written in a way intended to make it easy to plug in new access mechanisms. For example, one such plugin that has already been written is a Nevow LivePage-based web interface.
Jp
------------------------------
_______________________________________________
Twisted-Python mailing list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
End of Twisted-Python Digest, Vol 17, Issue 12
**********************************************
---------------------------------
Start your day with Yahoo! - make it your home page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20050814/62d0e620/attachment-0001.htm
------------------------------
Message: 2
Date: Mon, 15 Aug 2005 10:11:40 +0800
From: Eric Hsu
Subject: Re: [Twisted-Python] SSL Example?
To: Twisted general discussion
Message-ID: <43c0d2b505081419113dacfc12 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
here're some code examples from the official website, may them helpful
for you :)
http://twistedmatrix.com/projects/core/documentation/examples/
2005/8/15, markw :
> Hi,
>
> I am contemplating running XML-RPC over SSL (basically for site to
> site process communication over the internet). Has anyone got any
> example code that would point me in the right direction (or just some
> clues :-) )
>
> cheers
>
> mark
------------------------------
Message: 3
Date: Mon, 15 Aug 2005 13:22:57 +1000
From: Mary Gardiner
Subject: [Twisted-Python] Australian Twisted folk at the OSDC:
Melbourne Dec 5th - 7th 2005
To: Twisted general discussion
Message-ID: <20050815032257.GF27318 at home.puzzling.org>
Content-Type: text/plain; charset=us-ascii
We haven't even gotten to the second sprint yet (this weekend, Sydney,
see you there), and there's talk of a third one.
The Australian Open Source Developers Conference is being held at Monash
University, Caulfield, Melbourne from December 5th to 7th this year.
Seems like all of the Tassie Twisted folk are submitting papers and a
few others are thinking of submitting or attending.
Hence, while it probably won't be even as formally informal (or
informally formal?) as the Hobart and Sydney sprints, it seems likely
that critical mass will be achieved in Melbourne and Twisted coding
might take place...
....
Conference details:
Monday, December the 5th to Wednesday December the 7th, 2005
Call for papers is currently open:
http://osdc2005.cgpublisher.com/cfp.html but deadline is *this Friday*
19th August.
Details at http://www.osdc2005.com.au/
....
And after that... anyone going to linux.conf.au 2006 in Dunedin New
Zealand...?
-Mary
------------------------------
Message: 4
Date: Mon, 15 Aug 2005 13:26:26 +1000
From: Mary Gardiner
Subject: Re: [Twisted-Python] Australian Twisted folk at the OSDC:
Melbourne Dec 5th - 7th 2005
To: twisted-python at twistedmatrix.com
Message-ID: <20050815032626.GG27318 at home.puzzling.org>
Content-Type: text/plain; charset=us-ascii
On Mon, Aug 15, 2005, Mary Gardiner wrote:
> Details at http://www.osdc2005.com.au/
Sorry, just http://www.osdc.com.au/
-Mary
------------------------------
Message: 5
Date: Mon, 15 Aug 2005 07:21:02 +0100
From: markw
Subject: Re: [Twisted-Python] SSL Example?
To: Twisted general discussion
Message-ID: <1EAEDD24-055A-4942-8C23-804B7600BFDA at junklight.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Ok - there is an ssl example. Missed it the first time round. Thank
you for your help
On 15 Aug 2005, at 03:11, Eric Hsu wrote:
> here're some code examples from the official website, may them helpful
> for you :)
>
> http://twistedmatrix.com/projects/core/documentation/examples/
>
> 2005/8/15, markw :
>
>> Hi,
>>
>> I am contemplating running XML-RPC over SSL (basically for site to
>> site process communication over the internet). Has anyone got any
>> example code that would point me in the right direction (or just some
>> clues :-) )
>>
>> cheers
>>
>> mark
>>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
------------------------------
_______________________________________________
Twisted-Python mailing list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
End of Twisted-Python Digest, Vol 17, Issue 13
**********************************************
---------------------------------
Start your day with Yahoo! - make it your home page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20050817/757674df/attachment.htm
More information about the Twisted-Python
mailing list