Mod python

mod_python is an Apache HTTP Server module that integrates the Python programming language with the server. It is intended to provide a Python language binding for the Apache HTTP Server.

When mod_python released it was one of the more efficient options for Python scripts compared to CGI as CGI requests require starting a new Python process to respond to each individual web request.

History
The initial implementation of mod_python was a port to Apache HTTP server of a project called NSAPy. NSAPy was written by Aaron Watters for the Netscape Enterprise Server and was used as an example in a chapter of the book Internet Programming with Python written by Aaron Watters, Guido van Rossum, and James Ahlstrom. The first version of mod_python was released by Gregory Trubetskoy in 2000. In September 2002, mod_python was donated to the Apache Software Foundation and became part of the Apache HTTP Server project.

Since the development of Python's Web Server Gateway Interface from PEP 3333 in December 2003, interest in mod_python has largely moved to WSGI-compliant alternatives such as mod_wsgi.

Development on the project eventually ceased due to inactivity of the primary contributors and in The Apache Software Foundation June 16, 2010 Board meeting, the Board unanimously passed a resolution terminating Apache Quetzalcoatl Project (umbrella project for mod_python).

In September 2013, development of mod_python briefly resumed independent of the Apache Software Foundation however it has been largely inactive since and no new releases were created.