Clever Geek Handbook
📜 ⬆️ ⬇️

Cherrypy

CherryPy ( / ˈʧɛɹi paɪ / “CherryPye”, pun : “cherry pie” means an object-oriented web framework written in the Python programming language . Designed for rapid development of web applications for the Internet . It is an add-on over the HTTP protocol , but remains low and does not go beyond the requirements of RFC 2616 .

Cherrypy
Type ofWeb application development framework
DeveloperCherryPy team
Written on
operating systemany
Interface languagesPython
Latest version14.0.1 [1] ( March 22, 2018 )
LicenseBSD License
Sitecherrypy.org

CherryPy can act as a standalone web server or run another server application that supports the WSGI protocol. CherryPy does not deal with such tasks as processing templates for data output, access to a database, user authorization. The framework expands due to filters, simple interfaces consisting of seven functions that are called at specific points in the request / response processing process.

CherryPy is the main component of TurboGears .

Pythonic style interface

One of the goals of project founder Remy Delon was to make CherryPy as close as possible to the pythonic style principle. This allowed developers to use the framework like any ordinary Python module and not think about the features of web programming .

For example, the standard Hello World in CherryPy 3 looks like this:

  import cherrypy

 class HelloWorld ( object ):
     @ cherrypy.expose
     def index ( self ):
         return "Hello World!"

 cherrypy .  quickstart ( HelloWorld ())

Notes

  1. ↑ CherryPy 14.0.1: Python Package Index (link not available)
  2. ↑ The cherrypy Open Source Project on Open Hub: Languages ​​Page - 2006.
    <a href=" https://wikidata.org/wiki/Track:Q124688 "> </a> <a href=" https://wikidata.org/wiki/Track:P1972 "> </a>

Links

  • CherryPy Website
  • Web Application Framework Comparison
Source - https://ru.wikipedia.org/w/index.php?title=CherryPy&oldid=98119014


More articles:

  • De Lucca, Michele
  • Ozirovka (Orenburg Oblast)
  • Novaya Stepanovka (Orenburg Region)
  • Tarkett (Russia)
  • Ordelaffi, Francesco II
  • NFL 1951 Season
  • Szekey region football team
  • NFL season 1953
  • Penicillium ribium
  • Swinnerton, Charles Francis Massey

All articles

Clever Geek | 2019