Debian Codegraph @

docs/tutorials/installation.rst

raw
1 .. _installation:
2
3 Installation
4 ============
5
6 Quart is only compatible with Python 3.9 or higher and can be installed
7 using pip or your favorite python package manager:
8
9 .. code-block:: console
10
11 pip install quart
12
13 Dependencies
14 ------------
15
16 Quart dependends on the following packages, which will automatically
17 be installed with Quart:
18
19 - aiofiles, to load files in an asyncio compatible manner,
20 - blinker, to manage signals,
21 - click, to manage command line arguments
22 - hypercorn, an ASGI server for development,
23 - importlib_metadata only for Python 3.9,
24 - itsdangerous, for signing secure cookies,
25 - jinja2, for template rendering,
26 - markupsafe, for markup rendering,
27 - typing_extensions only for Python 3.9,
28 - werkzeug, as the basis of many Quart classes.
29
30 You can choose to install with the dotenv extra:
31
32 .. code-block:: console
33
34 pip install quart[dotenv]
35
36 Which will install the ``python-dotenv`` package which enables support
37 for automatically loading environment variables when running ``quart``
38 commands.
39
40 See also
41 --------
42
43 `Poetry <https://python-poetry.org>`_ for project management.