Python Paste

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" [http://reddit.com/r/programming/info/ehyf/comments/ceifh] .

WSGI middleware

To understand the function of paste it is first necessary to understand WSGI middleware.

The 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 WSGI application. 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. This is analogous the function of pipes on Unix systems. Functionality provided by WSGI middleware include authentication, logging, url redirection, creation of sessions, and compression.

Python paste

The Python Paste package mainly provides python modules to act as middleware. In addition to middleware, it provides a simple python webserver that can produce WSGI request and a wrapper used to pass WSGI requests to 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 framework.

Uses of Paste

Paste is a component used in the Pylons web application framework.

External links

* [http://pythonpaste.org Python Paste] : official site
* [http://video.google.com/videoplay?docid=-872784530622495809 Ben Bangert's Google Tech Talk] , Sep 13, 2006


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Python Paste — Тип Набор инструментов для веб приложений Разработчик Ян Бикинг и др. Операционная система Кроссплатформенный Последняя версия 1.7.5.1 Лицензия Лицензия MIT Сайт …   Википедия

  • Paste — may refer to: *Paste (food) a Mexican pastry *Paste (magazine) *Paste (rheology) substances rheologically similar to toothpaste *paste (Unix) in computing, the Unix utility tool which is used to join files horizontally *Paste (story) a short… …   Wikipedia

  • Pylons (web framework) — Infobox Software name = Pylons latest release version = 0.9.6.2 latest release date = May 28, 2008 genre = Web application framework license = BSD License programming language = Python operating system = Cross platform website =… …   Wikipedia

  • Pylons — Тип Программный каркас для создания веб приложений Разработчик Бен Бангерт, Джеймс Гарднер Операционная система Кроссплатформенный Последняя версия 1.3 ( …   Википедия

  • WSGI — (англ. Web Server Gateway Interface, обычно произносится сообществом как «висги» или «виски»[1][2][3])  стандарт взаимодействия между Python программой, выполняющейся на стороне сервера, и самим веб сервером, например, Apache.… …   Википедия

  • Duplicate code — is a computer programming term for a sequence of source code that occurs more than once, either within a program or across different programs owned or maintained by the same entity. Duplicate code is generally considered undesirable for a number… …   Wikipedia

  • Дублирование кода — Дублирование кода  термин из программирования, под которым понимается что некоторые участки исходного кода могут встречаться более чем однажды, как внутри одной, так и в нескольких программных сущностях. Дублирование является симптомом так… …   Википедия

  • Comparison of open source configuration management software — This is a comparison of free (libre) and open source configuration management software. Contents 1 Basic properties 2 Platform support 3 Short descriptions 4 Refere …   Wikipedia

  • Symbian — This article is about the operating system. For other uses, see Symbian (disambiguation). Symbian Company / developer Accenture on behalf of Nokia [1] …   Wikipedia

  • Wikipedia:Reference desk/Computing — The Wikipedia Reference Desk covering the topic of computing. Computing #eee #f5f5f5 #eee #aaa #aaa #aaa #00f #36b #000 #00f computing Wikipedia:Reference de …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”