I made a few friends at the NoVa Python Meetup and incidentally gave an introduction to Hookbox. Here are the slides: Hookbox (PPT)
Tag Archive : python
Rotating Arrays with Python
Consider the following snippet: 2!!7!4 Yes, that’s a valid expression from the proprietary K programming language [1]. From Wikipedia: Reading from right to left the first ! is modulo division that is performed on 7 and 4 resulting in 3. The next ! is enumeration and lists the integers less than 3, resulting in the [...]
Ten Tips for Attending PyCon
At Pycon 2011 I met several people who were pycon newbies and in talking to them I realized that they weren’t sure how to get the most out of their trip. So here are a few simple tips that I wish I had known when I attended my first Pycon a few years ago: Plan: [...]
Sneak Peek: GAE Channel API
At Google IO 2010, the app engine team announced that they had a Channel API in the works. This week I got invited by Moishe Lettvin of the Channel API team to join a handful of developers to try it out. The api is undocumented at the moment and can be considered in private alpha. [...]
A Simple Experiment with Hookbox
Hookbox is a new Python-based comet server with support for Websockets. It’s main features include: Support for named channels on which data is published/subscribed. Server-side Websocket and WSGI support via the eventlet concurrent networking library. Client-side Websocket support via js.io. Fall-back to a custom comet protocol when websocket support is not available in the browser. [...]
A Simple Quixote Server
Here is a generic script that can be used to serve any Quixote project as an HTTP or SCGI process. I’ve found it quite useful when developing multiple Quixote2-based sites because I don’t have to worry about a custom launcher. This script will continue to live on at the official quixote wiki page. #!/usr/bin/python from [...]
Testing Web Applications with Python
In this post I am going to discuss the various Python tools that are available to perform automated testing of web applications. The application could be written in any framework (eg: RoR, Django, or Quixote) but I am going to use Quixote as the reference because of its simplicity. The testing techniques I am going [...]
Pycon 2010 Wrap-up
I just got back from my first ever Pycon. The conference is a hackathon, geek festival, and technical talks combined into one intense event. A more apt name for it would be Pypalooza. I was there for the three days of the technical talks but next year I hope to be able to participate in [...]
Getting Started with Quixote
Quixote is an open source Python project that has the distinction of being one of the earliest Python “web frameworks”. Other frameworks that came later and gained more popularity (eg: django, Pylons, Turbogears, Cherrpy) can attribute some of their design influences to Quixote. It still has an active user community, albeit it is not as [...]