bottle

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

Latest version: 0.13.4 registry icon
Maintenance score
68
Safety score
55
Popularity score
100
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
0.13.4 0 0 0 0 0
0.13.3 0 0 0 0 0
0.13.2 0 0 0 0 0
0.13.1 0 0 0 0 0
0.13.0 0 0 0 0 0
0.12.25 0 0 0 0 0
0.12.24 0 0 0 0 0
0.12.23 0 0 0 0 0
0.12.22 0 0 0 0 0
0.12.21 0 0 0 0 0
0.12.20 0 0 0 0 0
0.12.19 0 0 0 0 1
0.12.18 0 0 1 0 1
0.12.17 0 0 1 0 1
0.12.16 0 0 1 0 1
0.12.15 0 0 1 0 1
0.12.14 0 0 1 0 1
0.12.13 0 0 1 0 1
0.12.12 0 0 1 0 1
0.12.11 0 0 1 0 1
0.12.10 0 0 2 0 1
0.12.9 0 0 2 0 1
0.12.8 0 0 2 0 1
0.12.7 0 0 2 0 1
0.12.6 0 0 2 0 1
0.12.5 0 0 3 0 1
0.12.4 0 0 3 0 1
0.12.3 0 0 3 0 1
0.12.2 0 0 3 0 1
0.12.1 0 0 3 0 1
0.11.7 0 0 3 0 1
0.11.6 0 0 3 0 1
0.11.5 0 0 3 0 1
0.11.4 0 0 3 0 1
0.11.3 0 0 3 0 1
0.11.2 0 0 3 0 1
0.11.1 0 0 3 0 1
0.10.12 0 0 2 0 1
0.10.11 0 0 3 0 1
0.10.10 0 0 3 0 1
0.10.9 0 0 3 0 1
0.10.8 0 0 3 0 1
0.10.7 0 0 3 0 1
0.10.6 0 0 3 0 1
0.10.5 0 0 3 0 1
0.10.4 0 0 3 0 1
0.10.3 0 0 3 0 1
0.10.2 0 0 3 0 1
0.10.1 0 0 3 0 1
0.9.8 0 0 1 0 1
0.9.7 0 0 1 0 1
0.9.6 0 0 1 0 1
0.9.5 0 0 1 0 1
0.9.4 0 0 1 0 1
0.9.3 0 0 1 0 1
0.9.2 0 0 1 0 1
0.9.1 0 0 1 0 1
0.8.5 0 0 1 0 1
0.8.4 0 0 1 0 1
0.8.3 0 0 1 0 1
0.8.2 0 0 1 0 1
0.8.1 0 0 1 0 1
0.6.6 0 0 1 0 1
0.6.5 0 0 1 0 1
0.6.4 0 0 1 0 1
0.6.3 0 0 1 0 1
0.6.2 0 0 1 0 1
0.6.1 0 0 1 0 1
0.6.0 0 0 1 0 1
0.5.8 0 0 1 0 1
0.5.7 0 0 1 0 1
0.5.6 0 0 1 0 1
0.5.4 0 0 1 0 1
0.5.3 0 0 1 0 1
0.4.14 0 0 1 0 1
0.4.13 0 0 1 0 1
0.4.12 0 0 1 0 1
0.4.11 0 0 1 0 1
0.4.10 0 0 1 0 1
0.4.9 0 0 1 0 1
0.4.8 0 0 1 0 1
0.4.7 0 0 1 0 1
0.4.6 0 0 1 0 1
0.4.4 0 0 1 0 1
0.4.3 0 0 1 0 1

Stability
Latest release:

0.13.4 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



.. image:: https://bottlepy.org/docs/dev/_static/logo_nav.png :target: https://bottlepy.org/ :alt: Bottle Logo :align: right

.. image:: https://github.com/bottlepy/bottle/workflows/Tests/badge.svg :target: https://github.com/bottlepy/bottle/workflows/Tests :alt: Tests Status

.. image:: https://img.shields.io/pypi/v/bottle.svg :target: https://pypi.python.org/pypi/bottle/ :alt: Latest Version

.. image:: https://img.shields.io/pypi/l/bottle.svg :target: https://pypi.python.org/pypi/bottle/ :alt: License

.. _Python: https://python.org/ .. _mako: https://www.makotemplates.org/ .. _cheetah: https://www.cheetahtemplate.org/ .. _jinja2: https://jinja.palletsprojects.com/

.. _WSGI: https://peps.python.org/pep-3333/ .. _gunicorn: https://gunicorn.org/ .. _paste: https://pythonpaste.readthedocs.io/ .. _cheroot: https://cheroot.cherrypy.dev/

============================ Bottle: Python Web Framework

Bottle is a fast, simple and lightweight WSGI_ micro web-framework for Python_. It is distributed as a single file module and has no dependencies other than the Python Standard Library <https://docs.python.org/library/>_.

  • Routing: Requests to function-call mapping with support for clean and dynamic URLs.
  • Templates: Fast built-in template engine <https://bottlepy.org/docs/dev/tutorial.html#tutorial-templates>_ and support for mako_, jinja2_ and cheetah_ templates.
  • Utilities: Convenient access to form data, file uploads, cookies, headers and other HTTP features.
  • Server: Built-in development server and ready-to-use adapters for a wide range of WSGI_ capable HTTP server (e.g. gunicorn_, paste_ or cheroot_).

Homepage and documentation: https://bottlepy.org

Example: "Hello World" in a bottle

.. code-block:: python

from bottle import route, run, template

@route('/hello/') def index(name): return template('Hello {{name}}!', name=name)

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

Run this script or paste it into a Python console, then point your browser to <http://localhost:8080/hello/world>_. That's it.

Download and Install

.. __: https://github.com/bottlepy/bottle/raw/master/bottle.py

Install the latest stable release with pip install bottle or download bottle.py__ (unstable) into your project directory. There are no hard dependencies other than the Python standard library.

License

.. __: https://github.com/bottlepy/bottle/raw/master/LICENSE

Code and documentation are available according to the MIT License (see LICENSE__).

The Bottle logo however is NOT covered by that license. It is allowed to use the logo as a link to the bottle homepage or in direct context with the unmodified library. In all other cases, please ask first.