# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual Environment
venv/
ENV/
env/
.venv/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# Data and uploads
uploads/
data/
*.pdf
*.html
# Allow example files
!examples/*.html
!examples/*.pdf
# Allow benchmark sample corpus
!benchmarks/data/sample_corpus/*.html
!benchmarks/data/sample_corpus/*.md
!benchmarks/data/sample_corpus/*.py
!benchmarks/data/sample_corpus/README.md

# Logs
*.log

# OS
.DS_Store
Thumbs.db

# Testing and Coverage
.pytest_cache/
.coverage
htmlcov/
coverage.xml
.tox/
.mypy_cache/
.ruff_cache/

# Benchmarks results
benchmarks/results/
!benchmarks/results/README.md

# Pre-commit
.pre-commit-config.yaml.bak

.pypirc
