# bottlepy/bottle

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

Repository: https://github.com/bottlepy/bottle
Canonical: https://ross.abutalabs.com/products/bottle
Homepage: http://bottlepy.org/
Language: Python
License: MIT
License Family: permissive
Topics: python, wsgi, rest, web-framework, bottle
Last push: 2026-07-19T07:21:52+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 28, longevity 100
- inputs: {"age_days": 6273, "days_push": 45, "days_rel": 444, "gap_med": 44.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8779, forks 1500 (observed 2026-08-28T04:10:25.712864+00:00)

## What it is
Bottle is a fast, lightweight WSGI micro web-framework for Python distributed as a single file module with no dependencies beyond the standard library. It provides URL routing, a built-in template engine, request utilities, and adapters for WSGI servers like gunicorn.

## Use cases
- build a small REST API in python
- prototype a web app with minimal dependencies
- serve a simple website from a single python file
- create microservices with a lightweight framework
- map URLs to python functions with dynamic routes
- deploy a WSGI app behind gunicorn

## When to choose
- you want a tiny, dependency-free framework for small apps, prototypes, or REST APIs
- you prefer understanding your whole stack by reading a single source file
- you need quick weekend projects or microservices

## When to avoid
- you need a full-stack framework with ORM, auth, and admin out of the box (use Django)
- you want a large ecosystem of extensions and community tooling (Flask may fit better)
- you are building large, complex applications with tight deadlines

## Facets
- artifact type: framework
- maturity: stable
- function: web-framework, http-server, routing, templating, middleware
- domain: web-development, backend, apis
- platform: python, cross-platform
- tags: wsgi, micro-framework, single-file, rest, no-dependencies, simpletemplate, web-server

## Member repositories
- bottlepy/bottle (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:25.712864+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:25:13.481935+00:00, confidence not recorded.
  - readme: https://github.com/bottlepy/bottle (fetched 2026-08-28T04:10:25.712864+00:00, sha e2a3ae91cb4c)
  - homepage: http://bottlepy.org/ (fetched 2026-08-29T08:25:44.699294+00:00, sha 8ed0e412ad9f)
  - site_page: https://bottlepy.org/docs/dev/stpl.html (fetched 2026-08-29T08:25:44.721966+00:00, sha f26cef0dd85f)
  - site_page: https://bottlepy.org/docs/dev/deployment.html (fetched 2026-08-29T08:25:44.723630+00:00, sha 1d292d328cab)
  - site_page: https://bottlepy.org/docs/dev/tutorial.html (fetched 2026-08-29T08:25:44.708499+00:00, sha 716940f4e1b6)
  - site_page: https://bottlepy.org/docs/dev/api.html (fetched 2026-08-29T08:25:44.711577+00:00, sha b943ed87abdf)
  - site_page: https://bottlepy.org/docs/dev/changelog.html (fetched 2026-08-29T08:25:44.714539+00:00, sha 5fc22884c8b8)
  - site_page: https://bottlepy.org/docs/dev/faq.html (fetched 2026-08-29T08:25:44.716696+00:00, sha 994023e8cdbd)
  - site_page: https://bottlepy.org/docs/dev/routing.html (fetched 2026-08-29T08:25:44.718696+00:00, sha d6e474f57763)
  - site_page: https://bottlepy.org/docs/dev/configuration.html (fetched 2026-08-29T08:25:44.720288+00:00, sha 7cca57541f9c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
