Skip to main content

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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fidding-flask-1.1.dev0.tar.gz (647.8 kB view details)

Uploaded Source

Built Distribution

fidding_flask-1.1.dev0-py2.py3-none-any.whl (91.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fidding-flask-1.1.dev0.tar.gz.

File metadata

File hashes

Hashes for fidding-flask-1.1.dev0.tar.gz
Algorithm Hash digest
SHA256 6aee465eafb6dbfa2448dd505435479cab51eebef56ffe867913108528439cab
MD5 46636453388520904d36f66c4061e8eb
BLAKE2b-256 9546c69fd0dcd176b4ef62654c4300b0834f3a7d48792d43983eecb689c12a0b

See more details on using hashes here.

File details

Details for the file fidding_flask-1.1.dev0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fidding_flask-1.1.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7f499d4edca73a3d0f2832b16e93f1b7042862c55850dc89671e601f53fbb743
MD5 93889b0267e3769d607c8186dedc155c
BLAKE2b-256 cb2603efa68f5b6ae90f38781444a3a5f31162018a80fd75ba09c2c69203a740

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page