# Mod python

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Mod_python
> Markdown URL: https://mediated.wiki/source/Mod_python.md
> Source: https://en.wikipedia.org/wiki/Mod_python
> Source revision: 1015000045
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{short description|Apache HTTP Server module}}
{{DISPLAYTITLE:mod_python}}
'''mod_python''' is an [Apache HTTP Server](/source/Apache_HTTP_Server) module that integrates the [Python programming language](/source/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](/source/Common_Gateway_Interface) as CGI requests require starting a new Python process to respond to each individual web request.{{citation needed|date=March 2021}}

==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](/source/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](/source/Guido_van_Rossum), and James Ahlstrom.<ref>{{cite web |url=http://modpython.org/live/current/doc-html/intr-history.html |url-status=unfit |archive-url=https://web.archive.org/web/20130601170144/http://www.modpython.org/live/current/doc-html/intr-history.html |title=History |date=29 January 2007 |archive-date=1 June 2013}}</ref> 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](/source/Apache_Software_Foundation) and became part of the [Apache HTTP Server](/source/Apache_HTTP_Server) project.

Since the development of Python's [Web Server Gateway Interface](/source/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](/source/mod_wsgi).<ref name="Grisha" />

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).<ref>{{cite web |url=http://www.apache.org/foundation/records/minutes/2010/board_minutes_2010_06_16.txt|title=Meeting minutes |date=June 16, 2010 |website=www.apache.org|access-date=2021-03-30}}</ref>

In September 2013, development of mod_python briefly resumed independent of the Apache Software Foundation<ref name="Grisha" >{{cite web | last=Trubetskoy | first=Gregory | title=Hacking on mod_python (again) | website=Gregory Trubetskoy | date=2013-08-02 | url=http://grisha.org/blog/2013/08/02/hacking-on-mod-python-again/ | access-date=2021-03-30}}</ref> however it has been largely inactive since and no new releases were created.<ref>{{cite web | title=grisha/mod_python | website=GitHub | url=https://github.com/grisha/mod_python | access-date=2021-03-30}}</ref>

==References==
{{Reflist}}

==External links==
* {{official website|http://www.modpython.org}}
* [http://www.ispol.com/home/grisha/nsapy/nsapy.html NSAPy]

{{Web interfaces}}
{{Portalbar|Free and open-source software}}

Python
Category:Articles with underscores in the title
Category:Python (programming language)

---
Adapted from the Wikipedia article [Mod python](https://en.wikipedia.org/wiki/Mod_python) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Mod_python?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
