CherryPy

An open source pythonic, object-oriented HTTP framework
Download

CherryPy Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • CherryPy Team
  • Publisher web site:
  • http://www.cherrypy.org/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 354 KB

CherryPy Tags


CherryPy Description

An open source pythonic, object-oriented HTTP framework CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program. This results in smaller source code developed in less time.CherryPy is now more than six years old and it is has proven very fast and stable. At the moment, CherryPy is being used in production by many web sites, from the simplest ones to the most demanding ones.Quick Facts:· Your CherryPy powered web applications are in fact stand-alone Python applications embedding their own multi-threaded web server. You can deploy them anywhere you can run Python applications. Apache is not required, but it's possible to run a CherryPy application behind it (or lighttpd, or IIS). CherryPy applications run on Windows, Linux, Mac OS X and any other platform supporting Python. · You write request handler classes that you tie together in a tree of objects, starting with a root object. CherryPy maps incoming request URIs to this object tree. The URI '/' represents the 'root' object, '/users/' the 'root.users' object, and so on. Requests are handled by methods inside these request handler classes. GET/POST parameters are passed as standard method parameters; '/users/display?id=123' will call root.users.display(id = '123'). The methods' return strings are then passed back to the browser. You have complete control over which methods are exposed through the web and which ones aren't. · Beyond this functionality, CherryPy pretty much stays out of your way. You are free to use any kind of templating, data access etc. technology you want. CherryPy can also handle sessions, static files, cookies, file uploads and everything you would expect from a decent web framework. Here are some key features of "CherryPy": · A fast, HTTP/1.1-compliant, WSGI thread-pooled webserver. Typically, CherryPy itself takes only 1-2ms per page! · Support for any other WSGI-enabled webserver or adapter, including Apache, IIS, lighttpd, mod_python, FastCGI, SCGI, and mod_wsgi · Easy to run multiple HTTP servers (e.g. on multiple ports) at once · A powerful configuration system for developers and deployers alike · A flexible plugin system · Built-in tools for caching, encoding, sessions, authorization, static content, and many more · A native mod_python adapter · A complete test suite · Swappable and customizable...everything. · Built-in profiling, coverage, and testing support. What's New in This Release: · On behalf of the CherryPy team, I'm pleased to announce the release of CherryPy 3.1.2. This is primarily a bugfix release, and includes support for Python 2.6.


CherryPy Related Software