Project

ATP Rankings Data Visualization / API

A long-term tennis data project where I collect ATP singles rankings going back to 1973, store them in SQLite, and expose them through a FastAPI web app, REST API, CLI tools, and an MCP server for AI assistants.

Open live site View source on GitHub

What this project does

The idea behind this project is simple: take decades of ATP rankings data that normally lives in scattered web pages, and turn it into something you can actually work with. The project:

Tech stack

How to run it locally (summary)

For full details, see the README in the repository, but roughly:

  1. Clone the repo and create a virtual environment.
  2. Install dependencies with pip install -r requirements.txt.
  3. Run the web app with uvicorn src.main:app --reload.
# start the dev server
uvicorn src.main:app --reload

# update the database with the latest rankings
python scripts/filler.py

# run tests
pytest tests/ -v

Example things you can do

If you have ideas for new tennis stats, visualizations, or integrations, feel free to open an issue or discussion on GitHub.