Bottle, Python framework for building websites is fast and lightweight micro web-framework for Python. It was designed to create small-scaled web applications and services.

Bottle is fast and lightweight micro web-framework for Python. It was designed to create small-scaled web applications and services.

Benefits of

  • Small size.
    This web-framework is situated in a single file module and its size is 50-60 kB. It is not over-packed with different features, but contains the most essential ones.
  • Easy to deploy.
    You can install it through the global index of Python packages (PyPI). The only requirement for is Python Standart Library. Also it can be running with no configuration and works in both Python 2.5+ or Python 3.
  • Easy to learn.
    If you have basic knowledge of both Python and web development, you would be able to combine them and use this framework. There is User's Guide for
  • Ideal for small web-applications.
    If you want to create and manage small website with little effort but substantial results you can easily use Python functions as a web page or website.
  • Faster than more powerful frameworks. parses and renders templates 5 to 10 times faster than mako.
  • Still develops.
    A number of plugins were added.

Main features of Bottle:

  • Routing: requests dispatching, so provide clean and dynamic URL-routes for mapping. Use simplified syntax or regular expressions for URL parameters.
  • WSGI: is Web Server Gateway Interface framework and work with CGI and WSGI internals is easy.
  • Templates:
    Integrated template engine is fast and built for Python user's. There is support for mako, jinja2 and cheetah templates.
  • Utilities: provides convenient access to form data, headers, file uploads, cookies and other HTTP related metadata.
  • Server:
    There is built-in HTTP development server and support for paste, fapws3, flup, bjoern, wsgiref.simple_server (default), cherrypy, Google App Engine or any other WSGI capable HTTP server.
  • Speed optimisations:
    There are fast static routes (single dict lookup) and frequently used routes are tested first. Platform-specific high-performance file-transmission facilities, such as the Unix sendfile(), are supported as well. depends on wsgi.file_wrapper provided by WSGI-Server implementation.

Bottle is a simple Python micro framework that includes minimal tools (routing, templating and a small abstraction over WSGI) and will be useful for developers looking for flexibility or people who want to build something really simple.

If you want to find out more information about this framework, please visit its official website:

Help with Bottle and Python from Quintagroup

If you are interested in building your web page or application with the help of framework, please contact Quintagroup for professional assistance.

Connect with our experts Let's talk