# ==============================================================================
# Python Core & Build Artifacts
# ==============================================================================
__pycache__/
*.py[cod]
*$py.class
*.so
build/
dist/
wheels/
*.egg-info/
.eggs/
*.egg
MANIFEST

# ==============================================================================
# Dependency Management & Virtual Environments
# ==============================================================================
# uv / standard venv directories
.venv
venv/
ENV/
env/

# ==============================================================================
# Testing, Type Checking & Linting (Quality Assurance)
# ==============================================================================
# Testing and coverage artifacts
.coverage
htmlcov/
coverage.xml
*.cover
.pytest_cache/

# Type checking & linting caches
.mypy_cache/
.ruff_cache/
.dmypy.json
dmypy.json

# ==============================================================================
# Environment & Secrets (CRITICAL)
# ==============================================================================
# Never commit secrets. Keep a .env.example if needed.
.env
.env.*
!.env.example

# ==============================================================================
# JetBrains (PyCharm, IntelliJ)
# ==============================================================================
# We ignore user-specific workspace files but keep project configs (inspection profiles, etc.)
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
.idea/**/contentModel.xml
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/modules.xml

# ==============================================================================
# Visual Studio Code
# ==============================================================================
# Ignore the folder but allow specific shared configurations
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Local History for VSCode
.history/

# ==============================================================================
# OS & Database Files
# ==============================================================================
.DS_Store
Thumbs.db
*.sqlite
*.sqlite3
*.db
