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

# 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)

Contributing

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

Project details


Download files

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

Source Distribution

Flask-2.0.3.tar.gz (629.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Flask-2.0.3-py3-none-any.whl (95.6 kB view details)

Uploaded Python 3

File details

Details for the file Flask-2.0.3.tar.gz.

File metadata

  • Download URL: Flask-2.0.3.tar.gz
  • Upload date:
  • Size: 629.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for Flask-2.0.3.tar.gz
Algorithm Hash digest
SHA256 e1120c228ca2f553b470df4a5fa927ab66258467526069981b3eb0a91902687d
MD5 54ca1a4714f265225f364755d3e9f7fd
BLAKE2b-256 849d66347e6b3e2eb78647392d3969c23bdc2d8b2fdc32bd078c817c15cb81ad

See more details on using hashes here.

File details

Details for the file Flask-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: Flask-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 95.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for Flask-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 59da8a3170004800a2837844bfa84d49b022550616070f7cb1a659682b2e7c9f
MD5 6e40e2c427f58288141b29c9322eead8
BLAKE2b-256 cd7759df23681f4fd19b7cbbb5e92484d46ad587554f5d490f33ef907e456132

See more details on using hashes here.

Supported by

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