Revision 203 as of 2005-09-23 23:52:28

Clear message

See also:

This topic guide links to the frameworks and templating systems available for Web programming in Python.

To Do

Editor: DanielDittmar (this means only that I will adapt the entries to changes in the WebProgrammingTemplate and that I will try to keep the version entries current)

Python-based

The listing is up-to-date as of 2005-09-24

Standardisation and Standardisation Proposals

Web Servers

TwistedMatrix includes a very scalable web server written in Python.

Application Frameworks

Templating Engines

There are many, many different HTML/XML templating libraries for Python that provide different feature sets and syntaxes. These libraries usually assume that you know how to write HTML or XML.

The number of libraries is so great because such libraries are pretty easy to write in Python; [http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52305 this recipe from the Python Cookbook] shows how easy it is.

Server-embedded Python

Web-based XML processing engines

HTML Shorthand Processors

The libraries in this section implement simpler markup languages that can be automatically converted to HTML. This lets you avoid having to write HTML by hand.

HTML Generation class libraries

Jython-accessible Java Templating Engines

CPython-accessible C Templating Engines

Utility modules

Related Links

The Web Framework Shootout at http://colorstudy.com/docs/shootout.html also covers several of these frameworks.

This topic guide started out as a word by word copy of PaulBoddie's [http://www.boddie.org.uk/python/web_frameworks.html Python Web Frameworks Overview].

OriginalWebProgrammingClassification is an older listing of Python-related web tools, and is now out of date and only of historical interest.

[http://pyre.third-bit.com/pywebblog/ one man's thoughts on writing a single application in multiple different web frameworks]

Notes on Editing

Opinions based on experience are welcome, but framework or templating system authors should sign their comments with InTheirOwnWords to admit to a certain bias.

The rather strict format of the main entries (described in WebProgrammingTemplateHelp) should not been seen as a limit. Feel free to add new pages containing examples, direct comparisons etc.

When adding new entries choose WebProgrammingTemplate when creating the page.

Discussion

For a set of comparisons of my real-world experiences with a bunch of the web solutions described on this page, check my WebSolutionComparison page. These are NOT impartial and unbiased comparisons; these are my personal experiences from building real web sites. Feel free to add your own comparisons.

-- TimRoberts DateTime

Wait- I don't understand-

Why were BaseHttpServer, DocXmlRpcServer, CgiScripts taken out?

I'd think that on a page on WebProgramming, those things would be listed.

-- LionKimbro DateTime(2004-08-02T14:36:38Z)

Other things:

-- PaulBoddie

I'm afraid we need more fine-grained classification. It is unclear which of these components can be used together with others (say: is [http://www.chrisarndt.de/en/software/python/#auth Auth modules] compatible with CGI or mod_python?

-- Michal J. Gajda

If you want web programming to be more accessible, maybe you should avoid titles like "Variable Insertion-Replacement Templating Applications"?

-- FredrikLundh

Unable to edit the page? See the FrontPage for instructions.