File: installation.rst

package info (click to toggle)
quart 0.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,888 kB
  • sloc: python: 8,644; makefile: 42; sh: 17; sql: 6
file content (43 lines) | stat: -rw-r--r-- 1,102 bytes parent folder | download | duplicates (3)
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.