Which framework does a Python developer need

Six Python frameworks in a comparison test

Rick Grehan

Six frameworks for Python developers compared: CubicWeb, Django, Pyramid, Web.py, Web2py, and Zope 2 offer web developers exciting opportunities.

Enlarge6 Python web frameworks in comparison
© iStockphoto.com/yurok

Even if Python is not as widely used as a programming language for web applications as PHP, for example, Python still has its advantages. It is a dynamically interpreted language like PHP. But Python was planned as an object-oriented programming language from the start, so the object-orientation was not integrated afterwards.

The standard libraries that come with Python are very impressive. Python even installs itself with its own web server. In addition, Python supports many free database libraries and countless free website template systems. There are also libraries to interface with your favorite web server that you can simply download and use for your next web application project.

Of course, as a Python programmer, you don't have to do all of the work. Because there are excellent frameworks for Python. The developers of these Python-based web frameworks have already done a lot of work for you.

On the following pages we introduce you to six frameworks for Python web developers. These are by no means the only Python web frameworks available, but these programs represent the breadth of possibilities. Whatever you need as a Python developer, one of these programs will suit your needs well. The selection was made by our colleagues from our sister publication PC World.

We provide you Zope 2 before, the successor, one of the longest established web server frameworks across languages. Web.py is a little abstract framework that contains only the bare essentials for web development. Web2py belongs to the more complex frameworks and offers its own web-based, integrated development environment. Pyramid is a new program that comes from the developers of the well-known Pylos framework. We will also provide you with this Django framework in front. With CubicWeb again, in addition to creating web applications, you can also create semantic web applications.

possibilities

Ease of development

documentation

installation

total score

weighting

40%

25%

25%

10%

CubicWeb 3.12.5

8

7

8

7

7,7

Django 1.3

8

8

9

8

8,3

Pyramid 1.0

8

7

8

8

7,8

Web.py 0.35

7

9

7

8

7,6

Web2py 1.95

9

8

9

9

8,8

Zope 2.13

9

8

8

8

8,4