# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C / Rust build artifacts
*.so
*.pyd
*.dll
*.dylib
target/

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

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

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

# Linters, typecheckers & formatters
.ruff_cache/
.mypy_cache/
.pyre/
.pytype/

# Environments & Secrets
.env
.env.*
!.env.example
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Cryptographic Keys, Certificates and Secrets (Crucial for Public Repo)
*.key
*.pem
*.pfx
*.p12
*.crt
*.csr
*.cer
*.jks
!tests/**
!docs/**

# IDE & Editors
.vscode/
.idea/
*.sublime-project
*.sublime-workspace
.project
.pydevproject

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

# Scratch and temporary directories
scratch/
*.tmp
*.log
