|
The framework is very light, being distributed as a single file Python module.
Here are some key features of "Bottle":
· Routing: Requests to function-call mapping with support for clean and dynamic URLs.
· Templates: Fast and pythonic built-in template engine and support for mako, jinja2 and cheetah templates.
· Utilities: Convenient access to form data, file uploads, cookies, headers and other HTTP related metadata.
· Server: Built-in HTTP development server and support for paste, fapws3, Google App Engine, cherrypy or any other WSGI capable HTTP server.
Requirements:
· Python Standard Library
What's New in This Release: [ read full changelog ]
· Native support for Python 2.x and 3.x syntax. No need to run 2to3 anymore.
· Support for partial downloads (Range header) in static_file().
· The new ResourceManager interface helps locating files bundled with an application.
· Added a server adapter for waitress.
· New Bottle.merge() method to install all routes from one application into another.
· New BaseRequest.app property to get the application object that handles a request.
Via: Bottle 0.11.3
0 Comment:
Post a Comment