Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.
/ bottle Public archive
forked from bottlepy/bottle

bottle.py is a fast and simple micro-framework for python web-applications.

License

Notifications You must be signed in to change notification settings

githubhelp/bottle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: http://bottle.paws.de/ License: MIT (see LICENSE.txt)

Installation and Dependencies

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

Example

from bottle import route, run

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

run(host='localhost', port=8080)

About

bottle.py is a fast and simple micro-framework for python web-applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published