# pallets/flask

The Python micro framework for building web applications.

Repository: https://github.com/pallets/flask
Canonical: https://ross.abutalabs.com/products/flask
Homepage: https://flask.palletsprojects.com
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: python, flask, wsgi, web-framework, werkzeug, jinja, pallets
Last push: 2026-08-16T18:35:35+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 47, longevity 100
- inputs: {"age_days": 5993, "days_push": 17, "days_rel": 195, "gap_med": 180, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 72138, forks 16948 (observed 2026-08-28T04:12:21.138291+00:00)

## What it is
Flask is a lightweight WSGI web application framework for Python, built on Werkzeug and Jinja. It provides routing, templating, and request handling with minimal enforced structure, scaling from simple scripts to complex applications via extensions.

## Use cases
- build a rest api in python
- create a small web application with routing and templates
- serve html pages with jinja templates
- prototype a web backend quickly
- build a webhook receiver endpoint
- add a web interface to a python script
- develop a blog or crud app with a database

## When to choose
- you want a minimal, unopinionated python web framework
- you need fine-grained control over project structure and dependencies
- you're building small-to-medium web apps or apis
- you want a huge ecosystem of community extensions

## When to avoid
- you need async-first request handling or websockets out of the box (consider FastAPI or Starlette)
- you want batteries-included admin, ORM, and auth (consider Django)
- you're building a frontend-heavy SPA without a backend

## Facets
- artifact type: framework
- maturity: stable
- function: web-framework, http-server, routing, templating, middleware, cli
- domain: web-development, backend, apis
- platform: python, cross-platform
- tags: wsgi, microframework, jinja2, werkzeug, rest-api, web-server

## Member repositories
- pallets/flask (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:21.138291+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-29T16:15:25.641984+00:00, confidence not recorded.
  - readme: https://github.com/pallets/flask (fetched 2026-08-28T04:12:21.138291+00:00, sha 1f2de14735b1)
  - homepage: https://flask.palletsprojects.com (fetched 2026-08-28T17:49:37.040466+00:00, sha d06521cfa3cb)
  - site_page: https://flask.palletsprojects.com/en/stable/installation/ (fetched 2026-08-28T17:49:37.049656+00:00, sha 95e46a9e362c)
  - site_page: https://flask.palletsprojects.com/en/stable/quickstart/ (fetched 2026-08-28T17:49:37.051362+00:00, sha 56db479be627)
  - site_page: https://flask.palletsprojects.com/en/stable/tutorial/install/ (fetched 2026-08-28T17:49:37.053703+00:00, sha dfd0550e88ac)
  - registry_pypi: https://pypi.org/pypi/flask/json (fetched 2026-08-28T17:49:37.055596+00:00, sha 362177c07e23)
- Data as of 2026-08-30T08:39:29.467469+00:00.
