You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Lord 36af821edf
Merge branch '2.2.x'
3 days ago
.github explain workflow 1 month ago
artwork fix list numbering 10 months ago
docs refactor or remove old docs (#4748) 6 days ago
examples remove FLASK_ENV from docs 1 week ago
requirements update requirements 1 week ago
src/flask Merge branch '2.2.x' 3 days ago
tests deprecate config attributes 1 week ago
.editorconfig add EditorConfig 2 years ago
.gitignore remove references to mailing list 3 months ago
.pre-commit-config.yaml Merge branch '2.2.x' 1 week ago
.readthedocs.yaml pin os and python version in rtd build 8 months ago
CHANGES.rst Merge branch '2.2.x' 3 days ago Create 3 years ago
CONTRIBUTING.rst remove references to mailing list 3 months ago
LICENSE.rst standardize license and copyright 3 years ago Initial typing support 1 year ago
README.rst update pip link 1 year ago
setup.cfg add typing tests to mypy config 2 months ago require werkzeug >= 2.2.2 3 days ago
tox.ini fix uninstalled package tests under tox 2 months ago



Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks.

Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer to choose the tools and libraries they want to use. There are many extensions provided by the community that make adding new functionality easy.


Install and update using pip:

$ pip install -U Flask

A Simple Example

# save this as
from flask import Flask

app = Flask(__name__)

def hello():
    return "Hello, World!"
$ flask run
  * Running on (Press CTRL+C to quit)


For guidance on setting up a development environment and how to make a contribution to Flask, see the contributing guidelines.


The Pallets organization develops and supports Flask and the libraries it uses. In order to grow the community of contributors and users, and allow the maintainers to devote more time to the projects, please donate today.