Skip to content
Myr

README.md

This file

Path

README.md

53 lines · 1.6 KiB · Markdown

Last changed by

Merge branch 'stable'David Lordbefore adoption85c5d93

History of this file

Take it

Merge branch 'stable'David Lordbefore adoption85c5d93

line 1why, one step back
1<div align="center"><img src="https://raw.githubusercontent.com/pallets/flask/refs/heads/stable/docs/_static/flask-name.svg" alt="" height="150"></div>

Merge branch 'stable'David Lordbefore adoption211cce0

line 2why, one step back
2

Merge branch '3.0.x'David Lordbefore adoption6ab71ed

lines 3–4why, one step back
3# Flask
4

markdown formattingDavid Lordbefore adoption6b361ce

line 5why, one step back
5Flask is a lightweight [WSGI] web application framework. It is designed

Merge branch '3.0.x'David Lordbefore adoption6ab71ed

line 6why, one step back
6to make getting started quick and easy, with the ability to scale up to

markdown formattingDavid Lordbefore adoption6b361ce

lines 7–8why, one step back
7complex applications. It began as a simple wrapper around [Werkzeug]
8and [Jinja], and has become one of the most popular Python web

Merge branch '3.0.x'David Lordbefore adoption6ab71ed

lines 9–42why, one step back
9application frameworks.
1011Flask offers suggestions, but doesn't enforce any dependencies or12project layout. It is up to the developer to choose the tools and13libraries they want to use. There are many extensions provided by the14community that make adding new functionality easy.1516[WSGI]: https://wsgi.readthedocs.io/17[Werkzeug]: https://werkzeug.palletsprojects.com/18[Jinja]: https://jinja.palletsprojects.com/1920## A Simple Example2122```python23# save this as app.py24from flask import Flask2526app = Flask(__name__)2728@app.route("/")29def hello():30 return "Hello, World!"31```3233```34$ flask run35 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)36```3738## Donate3940The Pallets organization develops and supports Flask and the libraries41it uses. In order to grow the community of contributors and users, and42allow the maintainers to devote more time to the projects, [please

markdown formattingDavid Lordbefore adoption6b361ce

line 43why, one step back
43donate today].

Merge branch '3.0.x'David Lordbefore adoption6ab71ed

lines 44–45why, one step back
44
45[please donate today]: https://palletsprojects.com/donate

use global contributing guideDavid Lordbefore adoption60a11a7

lines 46–53why, one step back
46
47## Contributing4849See our [detailed contributing documentation][contrib] for many ways to50contribute, including reporting issues, requesting features, asking or answering51questions, and making PRs.5253[contrib]: https://palletsprojects.com/contributing/