Bottle (web framework)


Bottle is a WSGI micro web-framework for the Python programming language. It is designed to be fast, simple and lightweight, and is distributed as a single file module with no dependencies other than the Python Standard Library. The same module runs with Python 2.7 and 3.x.
It offers request dispatching with URL parameter support, templates, a built-in web server and adapters for many third-party WSGI/HTTP-server and template engines.
It is designed to be lightweight, and to allow development of web applications easily and quickly.

Features

A simple "Hello World!"

from bottle import route, run, template
@route
def index:
return template
run