← Back to home

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.

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 useful, searchable, and programmable.

Tech stack

How to run it locally

For full details, see the README in the repository, but the basic flow is:

  1. Clone the repository 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

Future ideas

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