Notes on parallel processing with Python and Twisted
Twisted is a networking engine written in Python, that among many other things, can be used to do parallel processing. It is very big, though, so I had a hard time finding what I needed. I browsed...
View ArticleRunning functions periodically using Twisted's LoopingCall
Twisted is pretty cool-- it is very powerful, but I haven't had the easiest time learning it. Here is a simple example that runs a couple functions periodically (at different rates) using...
View ArticleCan't block for a Deferred in Twisted
Despite the existence of the promising waitForDeferred/deferredGenerator and the newerinlineCallbacks, it appears there is no way to block while waiting for a Deferred. Brian Granger described the...
View ArticleTwisted links
Twisted tutorials Twisted - hello, asynchronous programmingby Jesse Noller, February 11, 2009 Overview of Twisted concepts Twisted inlineCallbacks and deferredGeneratorby Marcin Kasperski, August 13,...
View ArticleRunning a Twisted Perspective Broker example with twistd
I've been using Twisted's Perspective Broker to manage networking for my Python program. Perspective Broker allows me to run a Python program on a remote machine and perform remote method calls on an...
View ArticleQuick notes on trying the Twisted websocket branch example
Here are my quick notes on trying out thewebsocket example inTwisted'swebsocket branch. Thedocumentation is here. The Twisted ticket is here. This came about after some conversation with@clemesha on...
View ArticleTwisted web POST example w/ JSON
This is an example of a simple asynchronous Python web server using Twisted. This is a copy of Jp Calderone's Twisted Web in 60 seconds: handling POSTs example modified to accept a JSON payload in the...
View Article
More Pages to Explore .....