https://github.com/pallets/flask
The Python micro framework for building web applications.
https://github.com/pallets/flask
flask jinja pallets python web-framework werkzeug wsgi
Last synced: 6 months ago
JSON representation
The Python micro framework for building web applications.
- Host: GitHub
- URL: https://github.com/pallets/flask
- Owner: pallets
- License: bsd-3-clause
- Created: 2010-04-06T11:11:59.000Z (over 15 years ago)
- Default Branch: main
- Last Pushed: 2025-03-30T20:17:35.000Z (8 months ago)
- Last Synced: 2025-05-05T13:55:30.476Z (6 months ago)
- Topics: flask, jinja, pallets, python, web-framework, werkzeug, wsgi
- Language: Python
- Homepage: https://flask.palletsprojects.com
- Size: 10.3 MB
- Stars: 69,466
- Watchers: 2,113
- Forks: 16,381
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.rst
- Contributing: docs/contributing.rst
- License: LICENSE.txt
Awesome Lists containing this project
- awesomesource - Flask
- awesome-huzhi - flask
- awesome-python-web-frameworks - Flask - 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. (Full-stack frameworks, but data-layer agnostic)
- best-of-web-python - GitHub - 0% open · ⏱️ 14.10.2025): (Web Frameworks)
- awesome_quantmetry - Flask
- awesome-list - Flask - The Python micro framework for building web applications. (DevOps / Data Management)
- awesome-python-zh - flask - Python的微框架。 (Web框架)
- awesome-flask - Source Code - Hosted on GitHub. (Resources / Official Resources)
- stars - flask
- awesome-github - py框架flask
- awesome-arsenal - Flask - 微框架。 (武器库 / 后端)
- awesome - pallets/flask - The Python micro framework for building web applications. (Python)
- awesome-starred - flask - The Python micro framework for building web applications. (Python)
- awesome-repositories - pallets/flask - The Python micro framework for building web applications. (Python)
- awesome-github-star - flask
- awesome-open-source-applications - Flask - commit/pallets/flask) |  | (Back-End Development)
- awesome-starts - pallets/flask - The Python micro framework for building web applications. (Python)
- stars - pallets/flask - The Python micro framework for building web applications. (Python)
- Amazing-Python-Modules - Flask - commit/pallets/flask?style=for-the-badge&label=)| (WEB)
- my-awesome - pallets/flask - framework,werkzeug,wsgi pushed_at:2025-10 star:70.7k fork:16.6k The Python micro framework for building web applications. (Python)
- awesome-starred - pallets/flask - The Python micro framework for building web applications. (flask)
- awesome - pallets/flask - The Python micro framework for building web applications. (Python)
- fucking-awesome-python - flask - A microframework for Python. (Web Frameworks)
- awesome-projects - flask - A microframework based on Werkzeug, Jinja2 and good intentions (Python)
- awesome - flask
- awesome-system-design - Flask - [51.6k ⭐] - A lightweight Python Microframework for fast prototyping and production. (REST Framework / Resource Management)
- jimsghstars - pallets/flask - The Python micro framework for building web applications. (Python)
README
# 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 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.
[WSGI]: https://wsgi.readthedocs.io/
[Werkzeug]: https://werkzeug.palletsprojects.com/
[Jinja]: https://jinja.palletsprojects.com/
## A Simple Example
```python
# 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 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].
[please donate today]: https://palletsprojects.com/donate
## Contributing
See our [detailed contributing documentation][contrib] for many ways to
contribute, including reporting issues, requesting features, asking or answering
questions, and making PRs.
[contrib]: https://palletsprojects.com/contributing/