Mod_python 3.2.5 Beta has been released

by Jeremy Jones

Related link:

From the website linked to above,

Mod_python is an Apache module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals.

Here is a changelog from version 3.1.4.

Some folks have done some work on running CherryPy with WSGI servers and have written one specifically for mod_python. I haven't tried it, but it sounds like this would allow a CherryPy app (and, thus, a TurboGears app) to run under Apache without having to run a standalone CherryPy server. If this is, in fact, the case, I can see this being of tremendous help in finding more available and cheap hosting for your CherryPy/TurboGears apps.

If anyone has had any experience with running CherryPy apps under mod_python without running a standalone CherryPy server, I'd love to hear from you. Or if my understanding is incorrect, I'd love for you to correct me.


2005-12-02 11:15:17
Just use Django
Check out "How to use Django with mod_python" -- an arrangement proven stable over the past two years.