# =============================================================================
# Python
# =============================================================================

# Byte-compiled / optimised / DLL files
*/__pycache__/*.*
src/ratelimiter/algorithms/__pycache__/
src/ratelimiter/__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.virtualenv/

# =============================================================================
# Testing & Coverage
# =============================================================================

.pytest_cache/
.coverage
.coverage.*
coverage.xml
htmlcov/
*.coveragerc
.tox/
.nox/

# =============================================================================
# Type checking
# =============================================================================

.mypy_cache/
.dmypy.json
dmypy.json
.pytype/
.pyre/

# =============================================================================
# Linting & Formatting
# =============================================================================

.ruff_cache/

# =============================================================================
# Build tools (Hatchling / Hatch)
# =============================================================================

.hatch/
*.dist-info/

# =============================================================================
# IDE & Editor
# =============================================================================

# VS Code
.vscode/
*.code-workspace

# PyCharm / JetBrains
.idea/
*.iml
*.iws
*.ipr

# Vim / Neovim
*.swp
*.swo
*~

# Emacs
\#*\#
.\#*

# =============================================================================
# OS
# =============================================================================

# macOS
.DS_Store
.AppleDouble
.LSOverride
._*

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/

# Linux
*~

# =============================================================================
# Secrets & Local Config
# =============================================================================

.env
.env.*
!.env.example
*.pem
*.key
*.p12
secrets.json
local_settings.py

# =============================================================================
# Databases (used by SQLiteBackend in tests / examples)
# =============================================================================

*.db
*.sqlite
*.sqlite3

# =============================================================================
# Logs
# =============================================================================

*.log
logs/

# =============================================================================
# Jupyter Notebooks
# =============================================================================

.ipynb_checkpoints/
*.ipynb

# =============================================================================
# Docs (generated output only)
# =============================================================================

docs/_build/
docs/api/
site/
