hi there, folks:
I'd really like to release 0.7.0 but I would like it to be at least a
little bit tested before I do so. Could those of you with CVS trees check
everything out and see if it performs as advertised? Deeper bugs than
that will have to wait for the next release, but I'd at least like to know
if it works for someone other than me.
______ __ __ _____ _ _
| ____ | \_/ |_____] |_____|
|_____| |_____ | | | |
@ t w i s t e d m a t r i x . c o m
I would like to announce txZMQ, ZeroMQ bindings for Twisted. txZMQ is based
on pyzmq and requires recent ØMQ version (>=2.1).
txZMQ uses ØMQ APIs to get file descriptor that is used to signal pending
actions from ØMQ library IO thread running in separate thread. txZMQ should
be usable with any Twisted reactor.
* The socket library that acts as a concurrency framework.
* Carries messages across inproc, IPC, TCP, and multicast.
* Connect N-to-N via fanout, pubsub, pipeline, request-reply.
* Fast enough for clustered products and supercomputing.
* Asynch I/O for scalable multicore message-passing apps.
Bridging ØMQ and Twisted makes a nice match: fast simple messaging between
Twisted instances solving complex problems :)
* PyPi: http://pypi.python.org/pypi/txZMQ/
* Source code: https://github.com/smira/pyzmq
* pyzmq: http://pypi.python.org/pypi/pyzmq
* ØMQ: http://www.zeromq.org/
Qik Web Team Lead
I have an xml file in my application,
I have created an element using
Example goes like this.........
and i appeneded it by using append() method.
But how i can reflect this change to my xml file?
and one more thing is i want to create element with some other parameters....
<abc m=" " n=" ">
and i have m and n values as strings with me.
can anybody help me to create this element and write it to the existing xml file
as a child of an existing element?
Thanks in advance..
Forgot the famous last words? Access your message archive online at http://in.messenger.yahoo.com/webmessengerpromo.php
On 18 May 2004, the following message was posted to this mailinglist:
Jp Calderone exarkun at divmod.com wrote:
>Daniel Newton wrote:
> I have a simple XML-PRC server similar to the example below:
> from twisted.web import xmlrpc, server
> class Example(xmlrpc.XMLRPC):
> """An example object to be published."""
> def xmlrpc_add(self, a, b):
> """Return sum of arguments."""
> return a + b
> if __name__ == '__main__':
> from twisted.internet import reactor
> r = Example()
> reactor.listenTCP(7080, server.Site(r))
> I want to be able to get the address of the client that calls the
> method can anyone help me with this?
This solution didn't work because 'transport' isn't a property of the
I'm currently in the process of changing from a customized
SimpleXMLRPCServer to a twisted XMLRPC server solution and I need to
insert the client IP into the attributes passed to the called xmlrpc
method. Anyone who knows the answer and is willing to share the info?
So, I volunteered to manage the sprint at PyCon 2012. Since no-one else
has, I'm moving forward assuming I got the job ;-)
You should sign up (which involves logging in on the PyCon site, scrolling
to the bottom, clicking "Edit" and adding your name) to the sprint. This
makes it easier for organizers to know how many people to expect where.
Here's the signup link:
Whenever i try to pass an object (aClass) with a property with a second
object (bClass) Am getting:
*Unpersistable('Unpersistable data: instance of class amodule.bClass deemed
The aClass is copyable and unjellied, the bClass is not.
Here's my code:
from twisted.application import internet, service
from twisted.spread import pb
from amodule import PBServer
application = service.Application("Test app")
# Prepare managers
clientManager = internet.TCPServer(8282, pb.PBServerFactory(PBServer()));
if __name__ == '__main__':
print "Run with twistd"
from twisted.spread import pb
"""This is not a Copyable class
class aClass(pb.RemoteCopy, pb.Copyable):
b = bClass()
def remote_echo(self, a):
Is there anyway to unjelly aClass and all the objects it can contain ?
because unjellying included object is a headache and may turn into dirty
by Peng Xiao -X (penxiao - Digital China at Cisco)
I want to establish a connection between my twisted client and an IPv6
server, how can I achieve that?
Which version of Twisted should I use?
I know how to use IPv4 through "reactor.connectTCP(self.Addr, PORT,
I've found that the IRCClient protocol doesn't deal well with having its connection interrupted. If the TCP session goes away due to timeout or some other interruption, it doesn't appear to notice. As a result, I'm looking at adding appropriate methods to allow a client to initiate its own pings to the server so that it can detect when the connection is lost. I'll submit all this back via Trac when I can get in there.
This will need IRCClient.irc_PONG(), which looks fairly straightforward to write, and the obvious method for the outgoing ping would be IRCClient.ping(), but that seems to have been taken up for DCC PING instead.
Presumably it would upset people if backward compatibility was broken and that was changed to IRCClient.dccPing() to match the rest of the outgoing DCC methods. Does anyone have any opinion on what other method name would make sense and still be close to maintaining consistency with the rest of the outgoing method names?