Skip to main content

PitLane Web

Web interface for PitLane AI - F1 data analysis powered by AI agents.

Quick Start

# Install and run with uvx (recommended)
uvx pitlane-web --env development

# Or install with pip/uv
pip install pitlane-web
pitlane-web --env development

Features

  • Interactive Web UI - Chat-based interface for F1 data analysis
  • AI-Powered Analysis - Uses Claude Agent SDK for intelligent F1 insights
  • Session Management - Isolated workspaces for each analysis session
  • Chart Generation - Automatic visualization of lap times, tyre strategy, and more
  • Rate Limiting - Built-in protection against abuse
  • OpenTelemetry Tracing - Observable agent behavior for debugging

Usage

Basic Commands

# Development mode with auto-reload
uvx pitlane-web --env development

# Custom port
uvx pitlane-web --port 3000

# Production mode
uvx pitlane-web --env production --host 0.0.0.0

# See all options
uvx pitlane-web --help

Environment Variables

  • PITLANE_ENV - Environment mode (development/production/test)
  • PITLANE_TRACING_ENABLED - Enable OpenTelemetry tracing (0/1)
  • PITLANE_HTTPS_ENABLED - Enable secure cookies (true/false)
  • PITLANE_SESSION_MAX_AGE - Session cookie max age in seconds
  • PITLANE_RATE_LIMIT_ENABLED - Enable rate limiting (true/false)

With Tracing

# Enable tracing to see agent behavior
PITLANE_TRACING_ENABLED=1 uvx pitlane-web --env development

Requirements

  • Python 3.12, 3.13, or 3.14
  • pitlane-agent package (installed automatically as a dependency)

Architecture

Built with:

  • FastAPI - Modern web framework
  • Uvicorn - ASGI server with auto-reload support
  • Jinja2 - Template engine for server-side rendering
  • Claude Agent SDK - AI agent orchestration
  • FastF1 - F1 data access (via pitlane-agent)

License

Apache-2.0

Links

Metadata

Release files for pitlane-web 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pitlane-web 0.5.1
File Size Uploaded
pitlane_web-0.5.1.tar.gz 34.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pitlane-web 0.5.1
File Interpreter ABI Platform
pitlane_web-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 58.3 kB

Release files / pitlane_web-0.5.1.tar.gz

Download URL pitlane_web-0.5.1.tar.gz
Size 34.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1fc1685e1059564913b02e017feb1ff7b9a25f914f224bcf7f31e9b6a2e42dc1
BLAKE2b-256 checksum
How to use checksums
a39558538e564b2c413e79ed1429fc2b91b32d3fdfdbda008ece6accd0fb03b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pitlane_web-0.5.1-py3-none-any.whl

Download URL pitlane_web-0.5.1-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8583be7be38ab41060a8c6c6caf0bc681d92cbf0c7b23ea38a51e4c03d47b73e
BLAKE2b-256 checksum
How to use checksums
d573c89b346b7b20c3a0ded93664edb7c7d69ee6f671b9a36c98eebf764c1026
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page