<?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=98.246.163.0%2F24</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=98.246.163.0%2F24"/>
	<link rel="alternate" type="text/html" href="https://ideawaza.com/wiki/Special:Contributions/98.246.163.0/24"/>
	<updated>2026-10-05T00:37:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://ideawaza.com/index.php?title=Python_Paste&amp;diff=84207</id>
		<title>Python Paste</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Python_Paste&amp;diff=84207"/>
		<updated>2010-01-27T07:25:29Z</updated>

		<summary type="html">&lt;p&gt;98.246.163.74: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;. Paste may prove to influence [[TurboGears]] in much the same way that [[Rack_(web_server_interface)|Rack]] has influenced Ruby&amp;lt;ref&amp;gt;http://groovie.org/2005/10/04/python-paste-power&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. Python code is passed a python representation of an HTTP request by an application, and in return passes back content which will normally eventually be rendered by a web browser. This Python code is called a &#039;&#039;&#039;WSGI application&#039;&#039;&#039;. 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. This is analogous to the function of pipes on Unix systems. Functionality provided by WSGI middleware 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.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[TurboGears]]&lt;br /&gt;
* [[Pylons]]&lt;br /&gt;
* [[Rack_(web_server_interface)|Ruby Rack]]&lt;br /&gt;
* [[Seaside_(software)|Smalltalk Seaside]]&lt;br /&gt;
* [[Java_Servlet|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|Server-side JavaScript]]&lt;br /&gt;
* [[PHP]]&lt;br /&gt;
* [[Web_application_framework|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>98.246.163.74</name></author>
	</entry>
</feed>