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. mod_python is more efficient for Python scripts than using CGI as CGI requests require starting a new Python process to respond to each individual web request.
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. 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 resumed, this time independent of the Apache Software Foundation.