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

# PyInstaller
*.manifest
*.spec

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

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

# IDEs and editors
.vscode/
.idea/
*.swp
*.swo
*.swn
*.vim
.spyderproject
.spyproject
.ropeproject

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# pipenv
Pipfile.lock

# PEP 582
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# ===========================
# Secure FL Specific
# ===========================
# Runtime logs and results
logs/
results/*
!results/gpu_convergence_mnist/
!results/gpu_convergence_cifar10/
!results/gpu_convergence_synthetic_small/
!results/gpu_convergence_medmnist_resnet18/
results_bak/
*.log

# Data directories
datasets/

# ZKP artifacts
*.r1cs
*.wtns
*.circom
output/
witness/
circuit.wasm
circuit_js/
proofs/compiled/
*.proof
*.vkey
*.zkey

# pysnark debug/trace output files
pysnark_eqs
pysnark_eqs_main
pysnark_schedule
pysnark_values
pysnark_wires

# Temporary files
temp/
tmp/
.temp/
.tmp/

# Build artifacts
#.build_number
*.compiled.json

# Package management
.pdm-python
.pdm-build/
#uv.lock

# ===========================
# System Files
# ===========================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# ===========================
# LaTeX (for documentation)
# ===========================
*.aux
*.bbl
*.blg
*.fls
*.fdb_latexmk
*.synctex.gz
*.out
*.toc
*.log
*.pdf
*.dvi
*.ps

# ===========================
# Development Tools
# ===========================
# Ruff cache
.ruff_cache/


# Docker
.dockerignore

# GitHub Actions local testing
.secrets
/tmp/artifacts/
*-event.json
.act/

# Node.js (for ZKP tools)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment variables
.env*
!.env.example
