feat(scripts): rewrite parser as modular Python CLI
Replace monolithic scraping scripts with sportstime_parser package: - Multi-source scrapers with automatic fallback for 7 sports - Canonical ID generation for games, teams, and stadiums - Fuzzy matching with configurable thresholds for name resolution - CloudKit Web Services uploader with JWT auth, diff-based updates - Resumable uploads with checkpoint state persistence - Validation reports with manual review items and suggested matches - Comprehensive test suite (249 tests) CLI: sportstime-parser scrape|validate|upload|status|retry|clear Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
14
Scripts/sportstime_parser/__main__.py
Normal file
14
Scripts/sportstime_parser/__main__.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""Entry point for sportstime-parser CLI."""
|
||||
|
||||
import sys
|
||||
|
||||
from .cli import run_cli
|
||||
|
||||
|
||||
def main() -> int:
|
||||
"""Main entry point."""
|
||||
return run_cli()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
Reference in New Issue
Block a user