# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # 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 # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.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/ # Translations *.mo *.pot # Django stuff: *.log local_settings.py db.sqlite3 db.sqlite3-journal # Flask stuff: instance/ .webassets-cache # Scrapy stuff: .scrapy # Sphinx documentation docs/_build/ # PyBuilder .pybuilder/ target/ # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv # For a library or package, you might want to ignore these files since the code is # intended to run in multiple environments; otherwise, check them in: # .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies # having no cross-platform support, pipenv may install dependencies that don't work, or not # install all needed dependencies. #Pipfile.lock # poetry # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. # This is especially recommended for binary packages to ensure reproducibility, and is more # commonly ignored for libraries. # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control #poetry.lock # pdm # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. #pdm.lock # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it # in version control. # https://pdm.fming.dev/#use-with-ide .pdm.toml # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm __pypackages__/ # Celery stuff celerybeat-schedule celerybeat.pid # SageMath parsed files *.sage.py # Environments .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ # pytype static type analyzer .pytype/ # Cython debug symbols cython_debug/ # PyCharm # JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be added to the global gitignore or merged into this project gitignore. For a PyCharm # project, it is recommended to ignore the entire .idea directory. .idea/ # VS Code .vscode/ !.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json !.vscode/*.code-snippets # Local History for Visual Studio Code .history/ # Built Visual Studio Code Extensions *.vsix # Project specific ignores # Logs and databases logs/ *.log *.db *.sqlite *.sqlite3 application.db # Cache directories cache/ .cache/ ai_cache/ model_cache/ data_cache/ __pycache__/ # Temporary files tmp/ temp/ *.tmp *.temp # OS generated files .DS_Store .DS_Store? ._* .Spotlight-V100 .Trashes ehthumbs.db Thumbs.db # IDE and editor files *.swp *.swo *~ .vscode/ .idea/ *.sublime-project *.sublime-workspace # Test reports and coverage reports/ htmlcov/ .coverage coverage.xml *.cover junit.xml test-results/ test-reports/ pytest-report.html # Performance profiling *.prof profile_results.prof *.pstats # Security and secrets .env .env.local .env.*.local secrets.json config/secrets/ *.key *.pem *.p12 *.pfx # Model files (large binary files) *.pkl *.pickle *.joblib *.h5 *.hdf5 *.pt *.pth *.onnx *.pb *.tflite models/ checkpoints/ weights/ # Data files (should be managed separately) data/raw/ data/processed/ data/external/ *.csv *.json *.parquet *.feather *.xlsx *.xls # Jupyter notebook outputs *.ipynb .ipynb_checkpoints/ # Documentation builds docs/_build/ docs/build/ site/ # Package builds build/ dist/ *.egg-info/ # Virtual environments venv/ env/ .venv/ .env/ conda-env/ # Docker .dockerignore Dockerfile.dev docker-compose.override.yml # Kubernetes *.yaml.local *.yml.local kustomization.yaml # Terraform *.tfstate *.tfstate.* .terraform/ .terraform.lock.hcl # AWS .aws/ # Google Cloud .gcloud/ service-account-key.json # Azure .azure/ # Monitoring and observability prometheus/ grafana/data/ # CI/CD .github/workflows/*.local.yml .gitlab-ci.local.yml # Local development local/ dev/ sandbox/ experiments/ playground/ # Backup files *.bak *.backup *.old # Archive files *.zip *.tar *.tar.gz *.rar *.7z # Media files (unless specifically needed) *.mp4 *.avi *.mov *.wmv *.flv *.mp3 *.wav *.flac *.jpg *.jpeg *.png *.gif *.bmp *.tiff *.svg *.ico # Office documents *.doc *.docx *.ppt *.pptx *.xls *.xlsx *.pdf # Compiled binaries *.exe *.dll *.so *.dylib # Node.js (if using any JS tools) node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* package-lock.json yarn.lock # Python package management Pipfile Pipfile.lock poetry.lock requirements-frozen.txt # Gradio specific gradio_cached_examples/ flagged/ # Hugging Face specific .huggingface/ transformers_cache/ hf_cache/ # MLflow mlruns/ mlartifacts/ # Weights & Biases wandb/ # TensorBoard runs/ logs/tensorboard/ # CUDA *.cu *.cuh # Profiling *.nvprof *.nvvp # Local configuration overrides config.local.py settings.local.py local_config.py # Database migrations migrations/versions/ alembic/versions/ # Redis dumps dump.rdb # Elasticsearch data/elasticsearch/ # Logs from various services nohup.out celery.log gunicorn.log nginx.log # Temporary directories created by tests test_temp/ tmp_test/ .tmp_test/ # Coverage reports in different formats .coverage.* coverage/ # Pytest .pytest_cache/ pytest.ini.local # MyPy .mypy_cache/ .dmypy.json dmypy.json # Bandit security reports .bandit bandit-report.json # Safety vulnerability reports safety-report.json # Black code formatter .black # isort .isort.cfg.local # Flake8 .flake8.local # Pylint pylint-report.txt .pylintrc.local # Pre-commit .pre-commit-config.yaml.local # Local scripts and utilities scripts/local/ utils/local/ tools/local/ # Experimental code experiments/ prototypes/ scratch/ # Performance benchmarks benchmarks/results/ perf/ # Load testing load_test_results/ # API documentation api_docs/ openapi.json swagger.json # Database backups *.sql *.dump # Configuration templates *.template *.example # Lock files for various tools *.lock # Temporary Python files *.pyc *.pyo *.pyd # Caches .cache/ .pytest_cache/ .mypy_cache/ .ruff_cache/ # IDE specific files .vscode/settings.json.local .idea/workspace.xml .idea/tasks.xml .idea/usage.statistics.xml .idea/dictionaries/ .idea/shelf/ # OS specific # Windows desktop.ini $RECYCLE.BIN/ *.cab *.msi *.msix *.msm *.msp *.lnk # macOS .AppleDouble .LSOverride Icon ._* .DocumentRevisions-V100 .fseventsd .Spotlight-V100 .TemporaryItems .Trashes .VolumeIcon.icns .com.apple.timemachine.donotpresent .AppleDB .AppleDesktop Network Trash Folder Temporary Items .apdisk # Linux *~ .fuse_hidden* .directory .Trash-* .nfs*