# ============================================================================== # OVARIAN CANCER DETECTION PROJECT - .GITIGNORE # ============================================================================== # 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 *.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 .python-version # pipenv Pipfile.lock # poetry poetry.lock # pdm .pdm.toml # PEP 582 __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 .idea/ # ============================================================================== # MACHINE LEARNING & DATA SCIENCE SPECIFIC # ============================================================================== # Model files (commented out since we need to deploy them) # *.pt # *.pth # *.pkl # *.joblib # *.h5 # *.hdf5 # Datasets (keep models but ignore large datasets) data/ dataset/ datasets/ *.csv *.tsv *.json *.jsonl *.parquet # Large files *.zip *.tar.gz *.rar *.7z # Training outputs logs/ runs/ experiments/ outputs/ checkpoints/ wandb/ mlruns/ # Tensorboard logs events.out.tfevents.* # ============================================================================== # HUGGINGFACE & API SPECIFIC # ============================================================================== # HuggingFace cache .cache/ transformers_cache/ huggingface_hub/ # API keys and tokens (CRITICAL SECURITY) .env .env.local .env.development .env.test .env.production *.token *_token api_keys.txt secrets.txt credentials.json config.json # HuggingFace specific hf_token.txt huggingface_token .huggingface_token # ============================================================================== # GRADIO SPECIFIC # ============================================================================== # Gradio temporary files gradio_cached_examples/ flagged/ gradio_queue.db # ============================================================================== # OPERATING SYSTEM FILES # ============================================================================== # macOS .DS_Store .AppleDouble .LSOverride Icon? ._* .DocumentRevisions-V100 .fseventsd .Spotlight-V100 .TemporaryItems .Trashes .VolumeIcon.icns .com.apple.timemachine.donotpresent .AppleDB .AppleDesktop Network Trash Folder Temporary Items .apdisk # Windows Thumbs.db Thumbs.db:encryptable ehthumbs.db ehthumbs_vista.db *.tmp *.temp Desktop.ini $RECYCLE.BIN/ *.cab *.msi *.msix *.msm *.msp *.lnk # Linux *~ .fuse_hidden* .directory .Trash-* .nfs* # ============================================================================== # IDE AND EDITOR FILES # ============================================================================== # Visual Studio Code .vscode/ *.code-workspace # JetBrains IDEs .idea/ *.iws *.iml *.ipr # Sublime Text *.sublime-project *.sublime-workspace # Vim *.swp *.swo *~ .viminfo # Emacs *~ \#*\# /.emacs.desktop /.emacs.desktop.lock *.elc auto-save-list tramp .\#* # Atom .atom/ # ============================================================================== # DEVELOPMENT AND TESTING # ============================================================================== # Testing .tox/ .coverage htmlcov/ .pytest_cache/ test_results/ test_outputs/ # Local development local/ tmp/ temp/ .tmp/ .temp/ # Backup files *.bak *.backup *.old *_backup *_old # ============================================================================== # PROJECT SPECIFIC # ============================================================================== # Original dataset folder (if you have it locally) Original/ original_dataset/ # Feature extraction outputs (if regenerating) feature_extraction_outputs/ extracted_features/ # Training artifacts (if retraining) training_logs/ model_checkpoints/ training_outputs/ # Test images and results test_images/ test_results/ prediction_outputs/ # Documentation builds docs/build/ documentation/build/ # Deployment artifacts (optional) deployment_logs/ build_logs/ # Personal notes and scratch files notes.txt todo.txt scratch.py test.py debug.py playground.py # ============================================================================== # SECURITY SENSITIVE FILES (CRITICAL) # ============================================================================== # Never commit these files containing sensitive information **/secrets/** **/credentials/** **/*_secret* **/*_key* **/*_password* **/*_token* **/*credentials* private_key* public_key* *.pem *.key *.crt *.cert # ============================================================================== # LARGE FILES AND BINARIES # ============================================================================== # Large model files (uncomment if models are too large for Git) models/*.pt models/*.pth model_cache/*.pt model_cache/*.pth models/ model_cache/ *.bin *.pt *.pkl *.h5 *.onnx # Videos and large media *.mp4 *.avi *.mov *.mkv *.webm *.gif # Large images (keep examples small) # *.png # *.jpg # *.jpeg # *.tiff # *.bmp models/feature_extractor.pt models/feature_scaler.pt models/multi_head_self_attention_classifier.pt *model_cache venv # ============================================================================== # END OF .GITIGNORE # ==============================================================================