tif1.
Prerequisites
Before you begin, ensure you have:- Python 3.10 or higher
- pip or uv package manager
- Basic knowledge of pandas or polars
- Internet connection for data fetching
Installation
1
Install tif1
Install using pip or uv:
2
Verify Installation
Check that tif1 is installed correctly:
Your first analysis
Let’s load and analyze data from a recent race.Step 1: load a session
The first time you load a session, tif1 fetches data from the CDN. Subsequent loads are instant thanks to caching.
Step 2: explore drivers
Step 3: analyze lap times
Step 4: compare drivers
Step 5: analyze telemetry
Common Patterns
Finding available data
Before loading data, check what’s available:Filtering Laps
Clean and filter lap data for analysis:Analyzing tire strategy
Weather Analysis
Performance Tips
Use async for cold cache
When loading data for the first time, use async for 4-5x speedup:Batch telemetry fetching
Never fetch telemetry in a loop:Use Polars for large datasets
Visualization
Create quick visualizations:Error Handling
Handle errors gracefully:Configuration
Customize tif1 behavior:Next Steps
Now that you understand the basics, explore:Tutorials
Learn advanced analysis techniques
API Reference
Explore the complete API
Best Practices
Learn recommended patterns
Examples
See more code examples
Common Issues
Cache permission errors
If you get permission errors:Network Timeouts
If requests timeout:Memory Issues
For large datasets:Getting Help
FAQ
Common questions and answers
Troubleshooting
Solve common problems
GitHub Issues
Report bugs or request features
Contributing
Contribute to tif1
Related Pages
Quickstart
Quick 30-second start
Best Practices
Recommended patterns
Examples
Common use cases
Tutorials
Step-by-step guides