forked from 0xWheatyz/SPARC
f33447eef8
Add APScheduler-based background task that periodically re-analyzes tracked companies and alerts on significant patent count changes. - Add tracked_companies and alerts tables to database schema - Add SPARC/scheduler.py with configurable interval and threshold - Add admin endpoints: GET/POST/DELETE /admin/tracked, GET /admin/alerts - Scheduler starts at app startup; interval via SCHEDULE_INTERVAL_HOURS - Change threshold configurable via CHANGE_THRESHOLD_PERCENT env var - apscheduler is optional; graceful fallback if not installed Closes leeworks-agents/SPARC#22 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
178 B
Plaintext
19 lines
178 B
Plaintext
python-dotenv
|
|
serpapi
|
|
pdfplumber
|
|
requests
|
|
pytest
|
|
pytest-mock
|
|
openai
|
|
psycopg2-binary
|
|
fastapi
|
|
uvicorn[standard]
|
|
pydantic[email]
|
|
httpx
|
|
numpy
|
|
pandas
|
|
bcrypt
|
|
PyJWT
|
|
slowapi
|
|
apscheduler
|