Python Tech 2012: django, CherryPy, unittest, nose, celery, decorator

By Xah Lee. Date: . Last updated: .

I attended some python conference this week. Here's some random notes on python tech i've learned. Most of these are advanced.

What Are Some Most Popular Python Web Frameworks?

Explicitly mentioned by Google App Engine:

Google App Engine supports any framework written in pure Python that speaks WSGI, including Django, CherryPy, Pylons,, and web2py.

Here's the popular python web frameworks:

They are all based on WSGI. WSGI (Web Server Gateway Interface) is python library that's a simple interface between a python web framework and web servers. So that, each python web app framework can all use this, instead of each creating their own.

Automated Testing Tool

unittest is a python lib for automated testing. It's bundled with python 2.7. (

python nose is a improved version of python unittest lib for automated-testing. Nose extends the test loading and running features of unittest, making it easier to write, find and run tests.

Advantages of “python nose” over unittest:

above opinion by “abbot” from

Python Nose home page:

Celery Task Queue

Celery Task Queue ( is a asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well. Written in python.

Python Decorators

Python: Decorator Tutorial