3 Commits

4 changed files with 12 additions and 24 deletions

View File

@@ -95,18 +95,6 @@ build-package:
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# Publish to PyPI (only on tags)
publish-pypi:
extends: .python-base
stage: publish
script:
- uv publish --token $PYPI_TOKEN
rules:
- if: $CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/
when: manual
needs:
- build-package
# Publish to GitLab Package Registry
publish-gitlab:
extends: .python-base

View File

@@ -13,7 +13,7 @@ Want to contribute or just poke around? Here's how to get set up.
### Using uv (the fast way)
```bash
git clone https://gitlab.com/bereckobrian/fastapi-traffic.git
git clone https://gitlab.com/zanewalker/fastapi-traffic.git
cd fastapi-traffic
# This creates a venv and installs everything
@@ -25,7 +25,7 @@ That's it. uv figures out the rest.
### Using pip
```bash
git clone https://gitlab.com/bereckobrian/fastapi-traffic.git
git clone https://gitlab.com/zanewalker/fastapi-traffic.git
cd fastapi-traffic
python -m venv .venv

View File

@@ -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

View File

@@ -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"]