The Lineup:
Fantasy Basketball Draft Assistant
A modular fantasy basketball draft assistant tool built with Python (FastAPI) and PostgreSQL (Supabase). Features single-user mock drafting with Yahoo 9-cat league logic and z-score-based stat analysis.
Features
Mock Draft Assistant: AI-powered draft suggestions with z-score analysis
📈 Historical Stat Trends: Mini-sparklines showing player performance trends over multiple seasons
⚖️ Player Comparison Tool: Side-by-side player analysis with radar charts and intelligent recommendations
Real-time Player Analysis: Z-score breakdowns for all 9-category stats
Intelligent Pick Suggestions: Context-aware recommendations based on team needs
Draft Progress Tracking: Visual draft status and team roster management
Advanced Analytics Features
Historical Stat Trends
Mini-sparklines for key fantasy basketball stats (last 3 seasons)
Trend analysis (increasing, decreasing, stable, volatile)
Draft insights based on player trajectory
Season-by-season breakdowns with performance metrics
Player Comparison Tool
Side-by-side comparison of any two players
Interactive radar charts for z-score visualization across 9 categories
Statistical breakdowns with season averages and detailed metrics
Historical trend comparison and draft recommendations
Intelligent summary with winner indicators and category strengths
Access both features via the detailed player stats tabs in the draft assistant.
🛠️ Tech Stack
Backend: Python, FastAPI, SQLAlchemy, Alembic
Database: PostgreSQL (Supabase)
Frontend: Streamlit, Plotly (for charts and visualizations)
Data Processing: Pandas, NumPy
Data Source: NBA Stats API (2018-19 to current season)