Web interface for PitLane AI
Project description
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 secondsPITLANE_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.11 or higher (up to 3.13)
pitlane-agentpackage (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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pitlane_web-0.1.2.dev2.tar.gz
(26.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pitlane_web-0.1.2.dev2.tar.gz.
File metadata
- Download URL: pitlane_web-0.1.2.dev2.tar.gz
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using 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":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6261cfd90ae6e0e7fdeee7ff10052dd0de397dae8708180f3f4a096493dd3bd1
|
|
| MD5 |
726cc3e18220d83c3d84d6429f19b8b2
|
|
| BLAKE2b-256 |
7f1fa4187b128d4cc11631e67db1a8f9d8c2bb06fc91c2b7b0285799902f253e
|
File details
Details for the file pitlane_web-0.1.2.dev2-py3-none-any.whl.
File metadata
- Download URL: pitlane_web-0.1.2.dev2-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using 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":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df3117ff0d4a44e5748f60eb9d00e6e8a166ea439e334819cc56289fdec2c28a
|
|
| MD5 |
350b0885668dd5a01cdf3ef18603a264
|
|
| BLAKE2b-256 |
c9bf695163bdb8638182e72f9bfd9de850812c84b161a780a01c1a0753c6b106
|