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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "fastapi-traffic"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
description = "Production-grade rate limiting for FastAPI with multiple algorithms and backends"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
@@ -42,9 +42,9 @@ dev = [
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Documentation = "https://gitlab.com/fastapi-traffic/fastapi-traffic#readme"
|
||||
Repository = "https://github.com/fastapi-traffic/fastapi-traffic"
|
||||
Issues = "https://gitlab.com/bereckobrian/fastapi-traffic/issues"
|
||||
Documentation = "https://gitlab.com/zanewalker/fastapi-traffic#readme"
|
||||
Repository = "https://github.com/zanewalker/fastapi-traffic"
|
||||
Issues = "https://gitlab.com/zanewalker/fastapi-traffic/issues"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
|
||||
Reference in New Issue
Block a user