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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask-3.1.2.tar.gz
  • Upload date:
  • Size: 720.2 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.2.tar.gz
Algorithm Hash digest
SHA256 bf656c15c80190ed628ad08cdfd3aaa35beb087855e2f494910aa3774cc4fd87
MD5 62ae81cf2e91a376af909a2bc8939e15
BLAKE2b-256 dc6dcfe3c0fcc5e477df242b98bfe186a4c34357b4847e87ecaef04507332dab

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: flask-3.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca1d8112ec8a6158cc29ea4858963350011b5c846a414cdb7a954aa9e967d03c
MD5 6d99ed48deab8d1311f6980d4fa670c9
BLAKE2b-256 ecf97f9263c5695f4bd0023734af91bedb2ff8209e8de6ead162f35d8dc762fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask-3.1.2-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