A simple framework for building complex web applications.
Project description
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)
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
Documentation: http://flask.pocoo.org/docs/
License: BSD
Releases: https://pypi.org/project/Flask/
Issue tracker: https://github.com/pallets/flask/issues
Test status:
Linux, Mac: https://travis-ci.org/pallets/flask
Test coverage: https://codecov.io/gh/pallets/flask
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fidding-flask-1.1.dev0.tar.gz
.
File metadata
- Download URL: fidding-flask-1.1.dev0.tar.gz
- Upload date:
- Size: 647.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aee465eafb6dbfa2448dd505435479cab51eebef56ffe867913108528439cab |
|
MD5 | 46636453388520904d36f66c4061e8eb |
|
BLAKE2b-256 | 9546c69fd0dcd176b4ef62654c4300b0834f3a7d48792d43983eecb689c12a0b |
File details
Details for the file fidding_flask-1.1.dev0-py2.py3-none-any.whl
.
File metadata
- Download URL: fidding_flask-1.1.dev0-py2.py3-none-any.whl
- Upload date:
- Size: 91.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f499d4edca73a3d0f2832b16e93f1b7042862c55850dc89671e601f53fbb743 |
|
MD5 | 93889b0267e3769d607c8186dedc155c |
|
BLAKE2b-256 | cb2603efa68f5b6ae90f38781444a3a5f31162018a80fd75ba09c2c69203a740 |