# Root directory cleanup
*.md
!/README.md
*.txt
!/pyproject.toml
/.*
!.git/
!.gitignore

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
*.manifest
*.spec
pip-log.txt
pip-delete-this-directory.txt

# Testing & Coverage
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django/Flask
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
instance/
.webassets-cache

# Documentation
docs/_build/
/site
.pybuilder/
target/
.ipynb_checkpoints
.ipynb

# Environment
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# IDE
.spyderproject
.spyproject
.ropeproject
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
.pytype/
cython_debug/
.idea/
.vscode/
*.sublime-workspace
*.sublime-project

# System files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Desktop.ini
$RECYCLE.BIN/

# Editors
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
Session.vim
Sessionx.vim
.netrwhist
*~
tags
[._]*.un~

*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
.directory
.Trash-*

# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json

# Temporary files
*.tmp
*.temp
*.bak
*.backup
*.orig

# Log files
*.log
logs/

# Profiling
*.prof

# Security
.env.local
.env.development.local
.env.test.local
.env.production.local
*.pem
*.key
*.crt
*.p12
*.pfx

# Local development
local/
dev/

# Data files
data/raw/
data/processed/

# Database files
*.db
*.sqlite
*.sqlite3

# Archive files
*.zip
*.tar
*.tar.gz
*.rar
*.7z

# Media files
*.jpg
*.jpeg
*.png
*.gif
*.bmp
*.svg
*.mp4
*.mp3
*.wav
*.avi
*.mov

# Configuration
config.local.*
settings.local.*

# Lock files
*.lock
*.lock.*