Installation#
Install the package with pip:
$ pip install throttled-py
Note
v3.x requires Python >=3.10.
If you are using Python 3.8/3.9, install throttled-py<3.0.0.
1) Optional Dependencies#
Starting from v2.0.0, only core dependencies are installed by default.
To enable additional features, install optional dependencies as follows (multiple extras can be comma-separated):
$ pip install "throttled-py[redis]"
$ pip install "throttled-py[otel]"
$ pip install "throttled-py[redis,otel]"
2) Extras#
Extra |
Description |
|---|---|
|
In-memory backend is available by default (the |
|
Use Redis as storage backend. |
|
OpenTelemetry metrics integration. |