Repolode
theOehrly

theOehrly/Fast-F1

Python package for accessing and analyzing Formula 1 results, schedules, timing data and telemetry, returning pandas DataFrames.

Stars
5,476
Forks
499
Open issues
44
Last commit
2 days ago

What is it?

FastF1 is a Python package for pulling Formula 1 data into analysis workflows. It provides access to timing data, car telemetry, session results and race schedules, and it supports the Ergast-compatible jolpica-f1 API for current and historical championship data.

All data is returned as extended pandas DataFrames, and the package adds helper functions on top of those objects for common F1 operations. It also includes Matplotlib integration for plotting, and caches API requests so repeated runs of a script do not need to fetch the same data again.

FastF1 is installable with pip or conda-forge. The project states that it is unofficial and not affiliated with the Formula 1 companies.

Key features

  • 01Access to F1 timing data, telemetry, session results and schedules
  • 02Supports the Ergast-compatible jolpica-f1 API for historical data
  • 03Returns data as extended pandas DataFrames with F1-specific helper methods
  • 04Matplotlib integration for visualization
  • 05Caches all API requests to speed up repeated scripts

Use cases

  • Analyzing lap times and driver pace across a race weekend
  • Comparing telemetry such as speed and throttle between drivers
  • Building historical F1 statistics or dashboards in Jupyter notebooks

Quick start

  1. 1

    Install FastF1 with pip

    pip install fastf1
  2. 2

    Or install with conda

    conda install -c conda-forge fastf1
  3. 3

    Read the official documentation for usage

Things to know

  • Unofficial project not associated with Formula 1 companies.
  • Some features and installs in Pyodide/WASM environments need extra manual steps and are not extensively tested.

Topics

FAQ

What is Fast-F1?
Python package for accessing and analyzing Formula 1 results, schedules, timing data and telemetry, returning pandas DataFrames. FastF1 is a Python package for pulling Formula 1 data into analysis workflows. It provides access to timing data, car telemetry, session results and race schedules, and it supports the Ergast-compatible jolpica-f1 API for current and historical championship data.
Is Fast-F1 free to use? What license does it have?
Fast-F1 is open source under the MIT license. Check the license terms before using it in commercial products.
Is Fast-F1 still maintained?
Actively maintained. The last commit to Fast-F1 was on Oct 18, 2026.
What can I use Fast-F1 for?
Analyzing lap times and driver pace across a race weekend Comparing telemetry such as speed and throttle between drivers Building historical F1 statistics or dashboards in Jupyter notebooks
How do I install Fast-F1?
Install FastF1 with pip: pip install fastf1 Or install with conda: conda install -c conda-forge fastf1 Read the official documentation for usage
Where can I get Fast-F1?
The source code and installation instructions are on GitHub: https://github.com/theOehrly/Fast-F1

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects