pallets/flask


The Python micro framework for building web applications.

https://palletsprojects.com/p/flask/

License: BSD-3-Clause

Language: Python

Keywords: flask, jinja, python, web-framework, werkzeug, wsgi


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.

Installing

Install and update using pip:

pip install -U Flask

A Simple Example

from flask import Flask

app = Flask(__name__)

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

Contributing

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

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.

Links

Project Statistics

Sourcerank 23
Repository Size 6.93 MB
Stars 46,527
Forks 12,927
Watchers 2,276
Open issues 25
Dependencies 10
Contributors 538
Tags 49
Created
Last updated
Last pushed

Top Contributors See all

Armin Ronacher David Lord Markus Unterwaditzer Ron DuPlain Daniel Neuhäuser Kenneth Reitz Keyan Pishdadian Ivan Ivashchenko Hsiaoming Yang Grey Li TW Adrian Jeff Widman Simon Sapin lord63 Florent Xicluna Kyle Lawlor Adam Byrtek Dag Odenhall Philipp A.

Packages Referencing this Repo

flask
Flask is a microframework for Python based on Werkzeug and Jinja2. It's intended for getting star...
Latest release 1.1.1 - Published - 46.5K stars
Flask
A simple framework for building complex web applications.
Latest release 1.1.1 - Updated - 46.5K stars
Flask-Next
A friendly fork of Flask
Latest release 0.11.0 - Published - 46.5K stars

Recent Tags See all

1.1.0 July 04, 2019
1.0.4 July 04, 2019
1.0.3 May 17, 2019
1.0.2 May 02, 2018
1.0.1 April 30, 2018
0.12.4 April 30, 2018
1.0 April 26, 2018
0.12.3 April 26, 2018
0.12.2 May 16, 2017
0.12.1 March 31, 2017
0.12 December 21, 2016
0.11.1 June 07, 2016
0.11 May 29, 2016
2.7.3 June 06, 2014
2.7.2 January 10, 2014

Interesting Forks See all

wayhome/flask-cn
微框架Flask的文档中文翻译
Python - BSD-3-Clause - Last pushed - 70 stars - 9 forks
mrdon/flask
A fork of flask to support asyncio
Python - Other - Last pushed - 55 stars - 3 forks
miguelgrinberg/flask
A microframework based on Werkzeug, Jinja2 and good intentions
Python - BSD-3-Clause - Last pushed - 20 stars - 26 forks
liks79/flask
A microframework based on Werkzeug, Jinja2 and good intentions
Python - Other - Last pushed - 20 stars - 36 forks
christyxyz/flask
A microframework based on Werkzeug, Jinja2 and good intentions
Python - Updated - 6 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-07-08 18:02:08 UTC

Login to resync this repository