Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 WSGI middleware  





2 Subcomponents of Paste  





3 See also  





4 References  





5 External links  














Python Paste






Português
Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Paste
Developer(s)Ian Bicking
Initial release2005 (2005)
Stable release

2.0.3 / March 8, 2016; 8 years ago (2016-03-08)

Repository
Written inPython
Operating systemCross-platform
TypeWeb framework
LicenseMIT License

Python Paste, often simply called paste, is a set of utilities for web developmentinPython. Paste has been described as "a framework for web frameworks".[1]

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

[edit]

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.

Subcomponents of Paste

[edit]

Paste has been a long-running open source project, dating from at least 2005. As it has grown, it has unbundled several 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. They include:

WebTest and WebOb have migrated and are now part of the Pylons project.

See also

[edit]

References

[edit]
  1. ^ "It's Not Another Damn Framework".
[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Python_Paste&oldid=1172979830"

Category: 
Python (programming language) web frameworks
Hidden categories: 
Articles with short description
Short description is different from Wikidata
Articles needing additional references from December 2017
All articles needing additional references
Articles with topics of unclear notability from May 2021
All articles with topics of unclear notability
Products articles with topics of unclear notability
Articles with multiple maintenance issues
Official website missing URL
 



This page was last edited on 30 August 2023, at 14:43 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki