Skip to main content

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 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.11 or higher (up to 3.13)
  • 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

Project details


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.3.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pitlane_web-0.1.3-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file pitlane_web-0.1.3.tar.gz.

File metadata

  • Download URL: pitlane_web-0.1.3.tar.gz
  • Upload date:
  • Size: 31.6 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":"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}

File hashes

Hashes for pitlane_web-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a3eb3e6fc7c53bdc51a0842d4fd056c782372cf0bdb812aadb7e8e247ac1d5f8
MD5 ed0873d95ca85f94ceaa38ece4677b8c
BLAKE2b-256 426e52cf2ed12e2baa344d4dc8702bbe42df0a2270cc10e5e42edd5c45219cd4

See more details on using hashes here.

File details

Details for the file pitlane_web-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pitlane_web-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.6 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":"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}

File hashes

Hashes for pitlane_web-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f63aba6b21199808ac1f50378e23b6dc6f04e2af5f5d2f3919731f8fbea22aac
MD5 097384c76e3fc7a6787a960d4839a1f9
BLAKE2b-256 c267fe8f7fd5a2b900f49ccd7576dc241d9fbb4d89b0e5b03e3f48d1205cc1b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page