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