<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=74.125.0.0%2F16</id>
	<title>IdeaWazaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=74.125.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="https://ideawaza.com/wiki/Special:Contributions/74.125.0.0/16"/>
	<updated>2026-10-04T17:58:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://ideawaza.com/index.php?title=Python_Paste&amp;diff=84219</id>
		<title>Python Paste</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Python_Paste&amp;diff=84219"/>
		<updated>2010-06-02T08:36:34Z</updated>

		<summary type="html">&lt;p&gt;74.125.57.36: /* WSGI middleware */ correct grammar&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{essay-like|date=February 2010}}&lt;br /&gt;
{{Infobox Software&lt;br /&gt;
| name                   = Paste&lt;br /&gt;
| logo                   = ?&lt;br /&gt;
| released               = {{start date|2005|?}}&lt;br /&gt;
| latest release version = 1.7.2&lt;br /&gt;
| latest release date    = ?&lt;br /&gt;
| genre                  = [[Web application framework]]&lt;br /&gt;
| license                = [[MIT License]]&lt;br /&gt;
| programming language   = [[Python (programming language)|Python]]&lt;br /&gt;
| operating system       = [[Cross-platform]]&lt;br /&gt;
| developer              = Ian Bicking&lt;br /&gt;
| website                = http://www.pythonpaste.org/&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;Python Paste&#039;&#039;&#039;, often simply called &#039;&#039;&#039;paste&#039;&#039;&#039;, is a set of [[utility software|utilities]] for [[web development]] in [[Python (programming language)|Python]].  Paste has been described as &amp;quot;a framework for [[web framework]]s&amp;quot;&amp;lt;ref&amp;gt;http://reddit.com/r/programming/info/ehyf/comments/ceifh&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== WSGI middleware ==&lt;br /&gt;
&lt;br /&gt;
To understand the function of paste it is first necessary to understand WSGI middleware.&lt;br /&gt;
&lt;br /&gt;
The [[Web Server Gateway Interface|WSGI]] standard is an interface that allows applications to use Python code to handle HTTP requests. A &#039;&#039;&#039;WSGI application&#039;&#039;&#039; 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.&lt;br /&gt;
&lt;br /&gt;
There are, however, other uses: &#039;&#039;&#039;WSGI middleware&#039;&#039;&#039; 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 [[Pipeline_(Unix)|pipes on Unix systems]]. Functionality provided by WSGI middleware may include authentication, logging, [[url redirection]], creation of [[sessions]], and compression.&lt;br /&gt;
&lt;br /&gt;
== Python paste ==&lt;br /&gt;
&lt;br /&gt;
The Python Paste package mainly provides Python modules to act as middleware. &lt;br /&gt;
In addition to middleware, it provides a simple Python webserver that can produce WSGI request and a wrapper used to pass WSGI requests to [[Common Gateway Interface|CGI]] applications. Paste may be understood as a set of libraries making use of the WSGI standard to provide functionality other than the direct creation of content. This is useful when one is deploying applications written in a Python [[web_application_framework|web framework]].&lt;br /&gt;
&lt;br /&gt;
== Uses of Paste ==&lt;br /&gt;
&lt;br /&gt;
Paste is a component used in the [[Pylons (web framework)|Pylons]] web application framework.  Paste has been a long-running open source project, dating from at least 2005.  It has grown and has unbundled numerous other utilities from the Paste core.  These utilities are part of the Paste project, but form their own packages and have their own version numbers.  WebOb is a wrapper around the WSGI environment.  Paste Deploy is a system for finding and configuring WSGI applications and servers.  Paste Script, WebTest, ScriptType, INITools, Tempita, WaitForIt, WPHP, WSGIFilter, and WSGIProxy are other notable bundles.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[TurboGears]]&lt;br /&gt;
* [[Pylons]]&lt;br /&gt;
* [[Seaside_(software)|Smalltalk Seaside]]&lt;br /&gt;
* [[Java Servlet]]&lt;br /&gt;
* [[ISAPI]]&lt;br /&gt;
* [[FastCGI]]&lt;br /&gt;
* [[Thrift_(protocol)|Apache Thrift]] (from Facebook and Evernote teams)&lt;br /&gt;
* [[Server-side JavaScript]]&lt;br /&gt;
* [[PHP]]&lt;br /&gt;
* [[Web application framework]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://pythonpaste.org Python Paste]: official site&lt;br /&gt;
* [http://www.ianbicking.org Ian Bicking] page&lt;br /&gt;
* [http://video.google.com/videoplay?docid=-872784530622495809 Ben Bangert&#039;s Google Tech Talk], Sep 13, 2006&lt;br /&gt;
* [http://pycon.blogspot.com/2009/03/pycon-2009-videos.html Ian Bicking&#039;s Topics of Interest, 4:30-9:30], PyCon 2009&lt;br /&gt;
&lt;br /&gt;
{{Python Web Application Frameworks}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Python web application frameworks]]&lt;/div&gt;</summary>
		<author><name>74.125.57.36</name></author>
	</entry>
</feed>