docs: update install instructions and bump version to 0.2.0
This commit is contained in:
12
README.md
12
README.md
@@ -18,26 +18,26 @@ Most rate limiting solutions are either too simple (fixed window only) or too co
|
||||
|
||||
```bash
|
||||
# Basic installation (memory backend only)
|
||||
pip install fastapi-traffic
|
||||
pip install git+https://gitlab.com/zanewalker/fastapi-traffic.git
|
||||
|
||||
# With Redis support
|
||||
pip install fastapi-traffic[redis]
|
||||
pip install git+https://gitlab.com/zanewalker/fastapi-traffic.git[redis]
|
||||
|
||||
# With all extras
|
||||
pip install fastapi-traffic[all]
|
||||
pip install git+https://gitlab.com/zanewalker/fastapi-traffic.git[all]
|
||||
```
|
||||
|
||||
### Using uv
|
||||
|
||||
```bash
|
||||
# Basic installation
|
||||
uv add fastapi-traffic
|
||||
uv add git+https://gitlab.com/zanewalker/fastapi-traffic.git
|
||||
|
||||
# With Redis support
|
||||
uv add fastapi-traffic[redis]
|
||||
uv add git+https://gitlab.com/zanewalker/fastapi-traffic.git[redis]
|
||||
|
||||
# With all extras
|
||||
uv add fastapi-traffic[all]
|
||||
uv add git+https://gitlab.com/zanewalker/fastapi-traffic.git[all]
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
|
||||
Reference in New Issue
Block a user