- New filesystem.py: make_fs() factory (returns s3fs.S3FileSystem or None),
plus fsjoin/fsstem/fsname path helpers
- config.py: storage field is now required ('local' or 's3'); load_config
raises a clear ValueError when it is missing
- video_loader, clip_selector, annotator: thread fs through all file I/O;
local paths unchanged, S3 paths use fs.open/fs.exists/fs.pipe
- annotation_script: load .env via python-dotenv at startup, create fs from
config and pass to Annotator
- Add .env.example with SwitchEngines endpoint and AWS checksum env vars
- pyproject.toml: add s3fs and python-dotenv dependencies
- Reduce default mask alpha from 40% to 15%
- Update example clip names to colon-separated timestamps
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
264 B
Plaintext
25 lines
264 B
Plaintext
# Python cache
|
|
*.pyc
|
|
.ipynb_checkpoints/
|
|
*.egg-info/
|
|
.claude/
|
|
.github/
|
|
|
|
# IDE settings
|
|
.vscode/
|
|
.idea/
|
|
|
|
# OSX-specific
|
|
.DS_Store
|
|
|
|
# Data
|
|
data/**
|
|
|
|
# User-specific config (copy from *.example.* files)
|
|
config/config.yaml
|
|
config/clips.txt
|
|
.env
|
|
|
|
# Notebooks
|
|
notebooks/
|