repowiserepowise

Command-line tool

pallets / flask

The Python micro framework for building web applications.

★ 75,111stars on GitHubPythonBSD-3-Clause

Repowise maps public repos from their source. Not affiliated with pallets. What is Repowise?

github.com/pallets/flaskIndexed at 49943b5

What is flask?

Flask is a lightweight WSGI web application framework for building Python web applications. It is designed to make getting started quick and easy, and it can scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and is written in Python. Its code health is 7.5 out of 10 (Good), ranked #86 of 4,000+ indexed repos. The last commit to flask was on Oct 30, 2026, and 859 people have contributed.

As of commit 49943b5, indexed Nov 13, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsflask.md

Repo facts: type, license, health, rank, contributors
flask facts
TypeCommand-line tool
LicenseBSD-3-Clause
Code health7.5 / 10 (Good)
Health rank#86 of 4,000+ indexed repos
Last commitOct 30, 2026
Contributors859
Bus factor1
Size128 files, 13,377 lines

Explore flask

Ask about this code in your agent

This connects Repowise to flask's code. It does not install flask.

Useful if you want to change or fork flask: your agent can ask how it is put together and get answers that cite its files.

Show the connect command (Claude Code, Cursor, Codex, VS Code)

Run it in a terminal, then type /mcp in Claude Code and sign in with Repowise. No key to paste.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/pallets/flask
Claude Code, Claude, Cursor and VS Code sign you in on first use, free. Codex and Windsurf need an API key: sign in to create one.Sign in for a key

This repo is public, so anyone with a free Repowise account can connect.

Try asking

  • get_overview()
  • get_answer("how is flask put together?")
  • get_why("why is flask structured this way?")

Ask about flask

Answers come from flask's README and source, with the files they cite. Two free answers a day without an account.

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of pallets/flask from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

pallets/flask FAQ

What is Flask?

Flask is a lightweight WSGI web application framework for building Python web applications. It is designed to make getting started quick and easy and can scale up to complex applications.

How does Flask work?

Flask provides the core request and response pipeline, and you create a Flask application, define routes and view functions, then run it behind a WSGI server. It leaves the choice of other libraries and project layout to the developer.

What language is Flask written in?

Flask is written in Python. Its source code lives in the src/flask directory.

How is the Flask code organized?

The framework lives in src/flask, with app.py defining the application object and json handling JSON serialization. Tests are kept in the tests directory and examples in the examples directory.

When should I use Flask?

Flask suits building Python web applications that start small and may grow to complex applications. It leaves the choice of tools, libraries and project layout to the developer.

What license does Flask use?

Flask is released under the BSD-3-Clause license.

Code health

7.5out of 10Good

Hotspots average 4.7, the place fixes pay off most.

On the leaderboards:#4 of 8 Python web frameworks#20 of 64 Python repos

Key features of flask

  • Lightweight WSGI web application framework designed for quick starts and scaling up to complex applications.
  • Built as a simple wrapper around Werkzeug and Jinja.
  • Does not enforce any dependencies or project layout, leaving the choice of tools and libraries to the developer.
  • Community extensions are available for adding new functionality.

How pallets/flask works

The src/flask directory holds the framework itself, including the application object, request handling, and the flask command. src/flask/app.py is the central file and defines the Flask application object, where routing and view execution are handled. src/flask/__init__.py is an entry point that exposes Flask for import, as the README example does with from flask import Flask. src/flask/__main__.py is another entry point for running the package as a module. src/flask/json is the JSON subsystem, which handles serialization and deserialization and routes helpers through the active application context when one is available. A WSGI server calls the application object, and the response it returns is sent back to the client.

The codebase has 128 files and 1,046 symbols in 5 modules, led by Python, Makefile and Shell. Code health is 7.5 out of 10, rated good.