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.3.0.tar.gz (686.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.3.0-py3-none-any.whl (97.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Flask-2.3.0.tar.gz
  • Upload date:
  • Size: 686.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for Flask-2.3.0.tar.gz
Algorithm Hash digest
SHA256 4088b4986f13cae23e02081e67df7e4e434ec6f85a5238bce5e6db6d1de61e06
MD5 7e08943593cff5d4be4033406f51266b
BLAKE2b-256 04f422384e109d9b7e295b20580bc6af5f45b78730d03f41f826639a5c006d1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Flask-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 97.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for Flask-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99a4889167c86fe57c4036825ebc77dc5dc3241bf0d80ea80ca941587d0d6a52
MD5 e64f189aebc99d8174567794c5ca5793
BLAKE2b-256 24dd45df0b0b93f449cb217486136071294595b2d6f8840eaf38704773093a37

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