Quantcast
Channel: SaltyCrane: twisted
Browsing latest articles
Browse All 7 View Live

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 Article



Running 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 Article

Can'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 Article

Twisted 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 Article

Running 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 Article


Image may be NSFW.
Clik here to view.

Quick 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 Article

Twisted 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
Browsing latest articles
Browse All 7 View Live




Latest Images