Python Paste ============ Python Paste, often simply called paste, is a set of utilities for web development in Python. Paste has been described as "a framework for web frameworks". The Python Paste package contains Python modules that help in implementing WSGI middleware. The package includes a WSGI wrapper for CGI applications. It also includes a simple webserver that can produce WSGI requests. Python Paste, often simply called paste, is a set of utilities for web development in Python. Paste has been described as "a framework for web frameworks". The Python Paste package contains Python modules that help in implementing WSGI middleware. The package includes a WSGI wrapper for CGI applications. It also includes a simple webserver that can produce WSGI requests. ==WSGI middleware== The WSGI standard is an interface that allows applications to use Python code to handle HTTP requests. A WSGI application is passed a Python representation of an HTTP request by an application, and returns content which will normally eventually be rendered by a web browser. A common use for this is when a web server serves content created by Python code. There are, however, other uses: WSGI middleware is Python code that receives a WSGI request and then performs logic based upon this request, before passing the request on to a WSGI application or more WSGI middleware. WSGI middleware appears to an application as a server, and to the server as an application. This is analogous to the function of pipes on Unix systems. Functionality provided by WSGI middleware may include authentication, logging, URL redirection, creation of sessions, and compression. Paste helps in developing such WSGI middleware systems. For example, it is used in the Pylons web application framework. ==See also== TurboGears Pylons project Smalltalk Seaside Java servlet Internet Server Application Programming Interface (ISAPI) FastCGI Apache Thrift (from Facebook and Evernote teams) Server-side JavaScript PHP Web framework ==References== ==External links== REFERENCES ---------- BIBLIOGRAPHY (BibTeX) -------------------- @article{ref0, title = {Python Paste}, url = {https://encyclopegia.org/a/python-paste} } BIBLIOGRAPHY (RIS) ------------------- TY - JOUR TI - Python Paste UR - https://encyclopegia.org/a/python-paste ER - CITE THIS ARTICLE ---------------- Cite this article: Python Paste Derived from: https://en.wikipedia.org/w/index.php?oldid=1376794656 Licence: CC BY-SA 4.0 Snapshot: enwiki-001376794656 Permalink: /a/python-paste