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.

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

Uploaded Source

Built Distribution

flask-3.1.0-py3-none-any.whl (103.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask-3.1.0.tar.gz
  • Upload date:
  • Size: 680.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for flask-3.1.0.tar.gz
Algorithm Hash digest
SHA256 5f873c5184c897c8d9d1b05df1e3d01b14910ce69607a117bd3277098a5836ac
MD5 c95d81666442bf04f7de7db7edbe2aff
BLAKE2b-256 8950dff6380f1c7f84135484e176e0cac8690af72fa90e932ad2a0a60e28c69b

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask-3.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: flask-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 103.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for flask-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d667207822eb83f1c4b50949b1623c8fc8d51f2341d65f72e1a1815397551136
MD5 afcbff84383f20c8cfdf42d6ff82ba17
BLAKE2b-256 af4793213ee66ef8fae3b93b3e29206f6b251e65c97bd91d8e1c5596ef15af0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask-3.1.0-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 AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page