← Back to projects
Python analytics
NFL Fantasy Point Distribution
A serverless analytics workflow that fetches live NFL data, performs statistical analysis,
and returns generated visualizations directly to the browser.
Executing Lambda and generating plots. Cold starts can take a bit, and slower runs may take noticeably longer or time out.
Overview
Containerized Lambda to support heavier data tooling.
This project uses a serverless container approach so the backend can support libraries that would be awkward in a minimal Lambda package.
The browser triggers an API Gateway endpoint, the containerized Python code performs the analysis, and the response returns both statistics and chart images.
Technical stack
Technical stack
- Python 3.12 analysis pipeline
- Docker image deployment through ECR
- AWS Lambda execution behind API Gateway
- `nflreadpy` and parquet processing for data access
- Dynamic chart rendering returned as Base64 image data
Results
Statistical results
Visuals
Distribution charts