About 50 results
Open links in new tab
  1. Welcome to Flask — Flask Documentation (3.1.x)

    ¶ Welcome to Flask’s documentation. 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. …

  2. Installation — Flask Documentation (3.1.x)

    Installation Python Version ¶ We recommend using the latest version of Python. Flask supports Python 3.9 and newer. Dependencies ¶ These distributions will be installed automatically when installing …

  3. Quickstart — Flask Documentation (3.1.x)

    Quickstart ¶ Eager to get started? This page gives a good introduction to Flask. Follow Installation to set up a project and install Flask first. A Minimal Application ¶ A minimal Flask application looks …

  4. Tutorial — Flask Documentation (3.1.x)

    The tutorial only uses what’s provided by Flask and Python. In another project, you might decide to use Extensions or other libraries to make some tasks simpler. Flask is flexible. It doesn’t require you to …

  5. 欢迎来到 Flask 的世界 — Flask Documentation (3.1.x)

    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.

  6. API — Flask Documentation (3.1.x)

    API ¶ This part of the documentation covers all the interfaces of Flask. For parts where Flask depends on external libraries, we document the most important right here and provide links to the canonical …

  7. Project Layout — Flask Documentation (3.1.x)

    The project directory will contain: flaskr/, a Python package containing your application code and files. tests/, a directory containing test modules. .venv/, a Python virtual environment where Flask and …

  8. Testing Flask Applications — Flask Documentation (3.1.x)

    Testing Flask Applications ¶ Flask provides utilities for testing an application. This documentation goes over techniques for working with different parts of the application in tests. We will use the pytest …

  9. Using async and await — Flask Documentation (3.1.x)

    Gevent patches low-level Python functions to accomplish this, whereas async / await and ASGI use standard, modern Python capabilities. Deciding whether you should use gevent with Flask, or Quart, …

  10. Patterns for Flask — Flask Documentation (3.1.x)

    Patterns for Flask Certain features and interactions are common enough that you will find them in most web applications. For example, many applications use a relational database and user authentication. …