Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (23 sloc) 1 KB

Bottle Web Framework

Bottle Logo

Bottle is a fast and simple micro-framework for small web applications. It offers request dispatching (URL routing) with URL parameter support, templates, a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and template engines - all in a single file and with no dependencies other than the Python Standard Library.

Homepage and documentation: License: MIT (see LICENSE.txt)

Installation and Dependencies

Install bottle with pip install bottle or just download and place it in your project directory. There are no (hard) dependencies other than the Python Standard Library.


from bottle import route, run

def hello(name):
    return '<h1>Hello %s!</h1>' % name.title()

run(host='localhost', port=8080)
Jump to Line
Something went wrong with that request. Please try again.