Command-line tool
pallets / flask
The Python micro framework for building web applications.
Releases on GitHub (latest 3.1.3, Feb 19, 2026)
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
| Type | Command-line tool |
|---|---|
| License | BSD-3-Clause |
| Code health | 7.5 / 10 (Good) |
| Health rank | #86 of 4,000+ indexed repos |
| Last commit | Oct 30, 2026 |
| Contributors | 859 |
| Bus factor | 1 |
| Size | 128 files, 13,377 lines |
Explore flask
- DocumentationModule-by-module documentation, 72 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
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.
Docsclaude mcp add --transport http repowise https://api.repowise.dev/mcp/pallets/flask
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
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.
Maintain pallets/flask?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of pallets/flask. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask flask's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/pallets/flask?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/pallets/flask?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/pallets/flask.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/pallets/flask?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/pallets/flask.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/pallets/flask.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>