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.

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)

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.

Contributing

See our detailed contributing documentation for many ways to contribute, including reporting issues, requesting features, asking or answering questions, and making PRs.

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

Uploaded Source

Built Distribution

flask-3.1.1-py3-none-any.whl (103.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask-3.1.1.tar.gz
  • Upload date:
  • Size: 753.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for flask-3.1.1.tar.gz
Algorithm Hash digest
SHA256 284c7b8f2f58cb737f0cf1c30fd7eaf0ccfcde196099d24ecede3fc2005aa59e
MD5 59dc1b0772bab098aff83e8008e97af6
BLAKE2b-256 c0dee47735752347f4128bcf354e0da07ef311a78244eba9e3dc1d4a5ab21a98

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask-3.1.1.tar.gz:

Publisher: publish.yaml on pallets/flask

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: flask-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 103.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for flask-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 07aae2bb5eaf77993ef57e357491839f5fd9f4dc281593a81a9e4d79a24f295c
MD5 ce31ab1b9c6faaf9436a70008ed44492
BLAKE2b-256 3d689d4508e893976286d2ead7f8f571314af6c2037af34853a30fd769c02e9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask-3.1.1-py3-none-any.whl:

Publisher: publish.yaml on pallets/flask

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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