bottlepy/bottle
bottlepy/bottle has 8,798 GitHub stars and 1,515 forks. GitHot measured -2 stars in 24 hours and -3 in 7 days. Last checked 2026-11-05 01:09 UTC. Last push 2026-10-25.
bottle.py is a fast and simple micro-framework for Python web applications.
Measured star growth
- in 24h
- -2
- in 7 days
- -3
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original.. 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/main/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/main/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.
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,591 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
376,913 starsreact/react
The library for web and native user interfaces.
251,985 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,490 stars