Skip to main content

A simple framework for building complex web applications.

Project description

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 from PyPI using an installer such as 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.

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.

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-3.0.3.tar.gz (676.3 kB view details)

Uploaded Source

Built Distribution

flask-3.0.3-py3-none-any.whl (101.7 kB view details)

Uploaded Python 3

File details

Details for the file flask-3.0.3.tar.gz.

File metadata

  • Download URL: flask-3.0.3.tar.gz
  • Upload date:
  • Size: 676.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for flask-3.0.3.tar.gz
Algorithm Hash digest
SHA256 ceb27b0af3823ea2737928a4d99d125a06175b8512c445cbd9a9ce200ef76842
MD5 4658b022a07f6d8df51ef24c717fe162
BLAKE2b-256 41e1d104c83026f8d35dfd2c261df7d64738341067526406b40190bc063e829a

See more details on using hashes here.

File details

Details for the file flask-3.0.3-py3-none-any.whl.

File metadata

  • Download URL: flask-3.0.3-py3-none-any.whl
  • Upload date:
  • Size: 101.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for flask-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 34e815dfaa43340d1d15a5c3a02b8476004037eb4840b34910c6e21679d288f3
MD5 fe39440012a05441fa61d70e92d81754
BLAKE2b-256 6180ffe1da13ad9300f87c93af113edd0638c75138c42a0994becfacac078c06

See more details on using hashes here.

Supported by

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