No description
Find a file
2025-04-13 03:57:49 +07:00
.devcontainer update project files (#5457) 2024-04-07 10:24:40 -07:00
.github update dev dependencies 2025-03-29 14:44:59 -07:00
docs add ghsa links 2025-03-29 15:57:16 -07:00
examples Merge remote-tracking branch 'origin/stable' 2024-11-13 08:43:48 -08:00
requirements update dev dependencies 2025-03-29 14:44:59 -07:00
src/flask Merge branch 'stable' 2025-03-30 13:17:17 -07:00
tests remove tests about deprecated pkgutil.get_loader 2025-03-29 15:42:58 -07:00
.editorconfig update project files (#5457) 2024-04-07 10:24:40 -07:00
.gitignore update project files (#5457) 2024-04-07 10:24:40 -07:00
.pre-commit-config.yaml update dev dependencies 2025-03-29 14:44:59 -07:00
.readthedocs.yaml fix rtd build 2025-03-29 14:37:13 -07:00
CHANGES.rst Merge branch 'stable' 2025-03-30 13:17:17 -07:00
LICENSE.txt update project files (#5457) 2024-04-07 10:24:40 -07:00
pyproject.toml start version 3.1.1 2024-11-23 16:01:16 -08:00
README.md Improve README.md structure and clarity for better onboarding 2025-04-13 03:57:49 +07:00
tox.ini update min dependencies 2024-10-31 13:11:06 -07:00

Flask

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 grown into one of the most popular Python web
frameworks in the world.

Flask provides a minimal core with no enforced project layout, allowing
developers to choose the tools and libraries they prefer. Its flexibility
makes it an excellent choice for both small projects and enterprise-grade
applications.

Why Flask?

  • Minimal by design no rigid structure, full freedom of choice.
  • Scalable from small scripts to large applications.
  • Extensible through a rich ecosystem of extensions.
  • Backed by strong documentation and a large, active community.

A Simple Example

# save this as app.py
from flask import Flask

app = Flask(__name__)

@app.route("/")
def hello():
    return "Hello, World!"
$ flask run
  * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Donate

The Pallets organization maintains Flask and its ecosystem.
To help grow the community and support long-term development,
please consider donating today.

Contributing

Flask welcomes all types of contributions, including:

  • Reporting bugs or proposing improvements
  • Discussing or suggesting features
  • Improving the documentation
  • Reviewing or submitting pull requests

To get started, see our contributing guide.