Skip to main content

Requirements

  • Python: 3.11 or higher
  • OS: Windows, macOS, or Linux

Quick Install

1

Choose a package manager

tif1 is available on PyPI. Install it with a package manager.
2

Install the optional extras

Add the polars extra for the Polars backend.
3

Verify the installation

Run this check to confirm that the installation works:

Configuration

Environment Variables

Configure tif1 with environment variables. They are useful in CI/CD environments. The default cache directory follows the FastF1 platform layout. It uses tif1 as the application directory:
  • Windows: %LOCALAPPDATA%/Temp/tif1
  • macOS: ~/Library/Caches/tif1
  • Linux and other POSIX systems: ~/.cache/tif1 when ~/.cache exists, otherwise ~/.tif1
Set TIF1_CACHE_DIR, or set cache_dir in .tif1rc, to override the default.

Config File (.tif1rc)

For permanent settings, create a .tif1rc (JSON) file in the home directory:

Advanced Troubleshooting

tif1 uses niquests for HTTP/2 support. If SSL errors occur, update the system openssl version. Also check that the certificate store has a correct configuration.
“Database is locked” errors show that multiple processes write to the cache at the same time. tif1 uses WAL mode to reduce this problem. Very high concurrency on slow disks can still trigger the error.
Use polars>=1.40.1 to avoid compatibility issues with the tif1 categorical optimization.
The Polars lib can reduce memory usage by up to 50% during full race telemetry processing.

Quickstart

Start using tif1

Configuration

Configure tif1

Troubleshooting

Solve common issues

Environment Variables

Configure with environment variables
Last modified on September 2, 2026