pitlane-web 0.1.2.dev0__tar.gz → 0.1.2.dev2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. pitlane_web-0.1.2.dev2/PKG-INFO +107 -0
  2. pitlane_web-0.1.2.dev2/README.md +80 -0
  3. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/pyproject.toml +2 -1
  4. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/__init__.py +1 -1
  5. pitlane_web-0.1.2.dev0/PKG-INFO +0 -25
  6. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/.gitignore +0 -0
  7. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/agent_manager.py +0 -0
  8. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/app.py +0 -0
  9. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/cli.py +0 -0
  10. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/config.py +0 -0
  11. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/filters.py +0 -0
  12. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/security.py +0 -0
  13. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/session.py +0 -0
  14. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/static/favicon.png +0 -0
  15. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/templates/base.html +0 -0
  16. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/templates/index.html +0 -0
  17. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/src/pitlane_web/templates/partials/message.html +0 -0
  18. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/tests/__init__.py +0 -0
  19. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/tests/conftest.py +0 -0
  20. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/tests/test_agent_manager.py +0 -0
  21. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/tests/test_agent_manager_concurrency.py +0 -0
  22. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/tests/test_app.py +0 -0
  23. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/tests/test_config.py +0 -0
  24. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/tests/test_filters.py +0 -0
  25. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/tests/test_security.py +0 -0
  26. {pitlane_web-0.1.2.dev0 → pitlane_web-0.1.2.dev2}/tests/test_session.py +0 -0
@@ -0,0 +1,107 @@
1
+ Metadata-Version: 2.4
2
+ Name: pitlane-web
3
+ Version: 0.1.2.dev2
4
+ Summary: Web interface for PitLane AI
5
+ Project-URL: Homepage, https://github.com/jshudzina/PitLane-AI
6
+ Project-URL: Repository, https://github.com/jshudzina/PitLane-AI
7
+ Project-URL: Issues, https://github.com/jshudzina/PitLane-AI/issues
8
+ Author-email: John Hudzina <pitlaneagent@gmail.com>
9
+ License: Apache-2.0
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Requires-Python: <3.14,>=3.11
19
+ Requires-Dist: fastapi>=0.115
20
+ Requires-Dist: jinja2>=3.1
21
+ Requires-Dist: markdown>=3.5
22
+ Requires-Dist: pitlane-agent
23
+ Requires-Dist: python-multipart>=0.0.9
24
+ Requires-Dist: slowapi>=0.1.9
25
+ Requires-Dist: uvicorn[standard]>=0.30
26
+ Description-Content-Type: text/markdown
27
+
28
+ # PitLane Web
29
+
30
+ Web interface for PitLane AI - F1 data analysis powered by AI agents.
31
+
32
+ ## Quick Start
33
+
34
+ ```bash
35
+ # Install and run with uvx (recommended)
36
+ uvx pitlane-web --env development
37
+
38
+ # Or install with pip/uv
39
+ pip install pitlane-web
40
+ pitlane-web --env development
41
+ ```
42
+
43
+ ## Features
44
+
45
+ - **Interactive Web UI** - Chat-based interface for F1 data analysis
46
+ - **AI-Powered Analysis** - Uses Claude Agent SDK for intelligent F1 insights
47
+ - **Session Management** - Isolated workspaces for each analysis session
48
+ - **Chart Generation** - Automatic visualization of lap times, tyre strategy, and more
49
+ - **Rate Limiting** - Built-in protection against abuse
50
+ - **OpenTelemetry Tracing** - Observable agent behavior for debugging
51
+
52
+ ## Usage
53
+
54
+ ### Basic Commands
55
+
56
+ ```bash
57
+ # Development mode with auto-reload
58
+ uvx pitlane-web --env development
59
+
60
+ # Custom port
61
+ uvx pitlane-web --port 3000
62
+
63
+ # Production mode
64
+ uvx pitlane-web --env production --host 0.0.0.0
65
+
66
+ # See all options
67
+ uvx pitlane-web --help
68
+ ```
69
+
70
+ ### Environment Variables
71
+
72
+ - `PITLANE_ENV` - Environment mode (development/production/test)
73
+ - `PITLANE_TRACING_ENABLED` - Enable OpenTelemetry tracing (0/1)
74
+ - `PITLANE_HTTPS_ENABLED` - Enable secure cookies (true/false)
75
+ - `PITLANE_SESSION_MAX_AGE` - Session cookie max age in seconds
76
+ - `PITLANE_RATE_LIMIT_ENABLED` - Enable rate limiting (true/false)
77
+
78
+ ### With Tracing
79
+
80
+ ```bash
81
+ # Enable tracing to see agent behavior
82
+ PITLANE_TRACING_ENABLED=1 uvx pitlane-web --env development
83
+ ```
84
+
85
+ ## Requirements
86
+
87
+ - Python 3.11 or higher (up to 3.13)
88
+ - `pitlane-agent` package (installed automatically as a dependency)
89
+
90
+ ## Architecture
91
+
92
+ Built with:
93
+ - **FastAPI** - Modern web framework
94
+ - **Uvicorn** - ASGI server with auto-reload support
95
+ - **Jinja2** - Template engine for server-side rendering
96
+ - **Claude Agent SDK** - AI agent orchestration
97
+ - **FastF1** - F1 data access (via pitlane-agent)
98
+
99
+ ## License
100
+
101
+ Apache-2.0
102
+
103
+ ## Links
104
+
105
+ - [GitHub Repository](https://github.com/jshudzina/PitLane-AI)
106
+ - [Documentation](https://github.com/jshudzina/PitLane-AI#readme)
107
+ - [Issues](https://github.com/jshudzina/PitLane-AI/issues)
@@ -0,0 +1,80 @@
1
+ # PitLane Web
2
+
3
+ Web interface for PitLane AI - F1 data analysis powered by AI agents.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ # Install and run with uvx (recommended)
9
+ uvx pitlane-web --env development
10
+
11
+ # Or install with pip/uv
12
+ pip install pitlane-web
13
+ pitlane-web --env development
14
+ ```
15
+
16
+ ## Features
17
+
18
+ - **Interactive Web UI** - Chat-based interface for F1 data analysis
19
+ - **AI-Powered Analysis** - Uses Claude Agent SDK for intelligent F1 insights
20
+ - **Session Management** - Isolated workspaces for each analysis session
21
+ - **Chart Generation** - Automatic visualization of lap times, tyre strategy, and more
22
+ - **Rate Limiting** - Built-in protection against abuse
23
+ - **OpenTelemetry Tracing** - Observable agent behavior for debugging
24
+
25
+ ## Usage
26
+
27
+ ### Basic Commands
28
+
29
+ ```bash
30
+ # Development mode with auto-reload
31
+ uvx pitlane-web --env development
32
+
33
+ # Custom port
34
+ uvx pitlane-web --port 3000
35
+
36
+ # Production mode
37
+ uvx pitlane-web --env production --host 0.0.0.0
38
+
39
+ # See all options
40
+ uvx pitlane-web --help
41
+ ```
42
+
43
+ ### Environment Variables
44
+
45
+ - `PITLANE_ENV` - Environment mode (development/production/test)
46
+ - `PITLANE_TRACING_ENABLED` - Enable OpenTelemetry tracing (0/1)
47
+ - `PITLANE_HTTPS_ENABLED` - Enable secure cookies (true/false)
48
+ - `PITLANE_SESSION_MAX_AGE` - Session cookie max age in seconds
49
+ - `PITLANE_RATE_LIMIT_ENABLED` - Enable rate limiting (true/false)
50
+
51
+ ### With Tracing
52
+
53
+ ```bash
54
+ # Enable tracing to see agent behavior
55
+ PITLANE_TRACING_ENABLED=1 uvx pitlane-web --env development
56
+ ```
57
+
58
+ ## Requirements
59
+
60
+ - Python 3.11 or higher (up to 3.13)
61
+ - `pitlane-agent` package (installed automatically as a dependency)
62
+
63
+ ## Architecture
64
+
65
+ Built with:
66
+ - **FastAPI** - Modern web framework
67
+ - **Uvicorn** - ASGI server with auto-reload support
68
+ - **Jinja2** - Template engine for server-side rendering
69
+ - **Claude Agent SDK** - AI agent orchestration
70
+ - **FastF1** - F1 data access (via pitlane-agent)
71
+
72
+ ## License
73
+
74
+ Apache-2.0
75
+
76
+ ## Links
77
+
78
+ - [GitHub Repository](https://github.com/jshudzina/PitLane-AI)
79
+ - [Documentation](https://github.com/jshudzina/PitLane-AI#readme)
80
+ - [Issues](https://github.com/jshudzina/PitLane-AI/issues)
@@ -1,7 +1,8 @@
1
1
  [project]
2
2
  name = "pitlane-web"
3
- version = "0.1.2.dev0"
3
+ version = "0.1.2.dev2"
4
4
  description = "Web interface for PitLane AI"
5
+ readme = "README.md"
5
6
  requires-python = ">=3.11,<3.14"
6
7
  license = { text = "Apache-2.0" }
7
8
  authors = [
@@ -1,3 +1,3 @@
1
1
  """PitLane Web - FastAPI web interface for F1 AI agent."""
2
2
 
3
- __version__ = "0.1.2.dev0"
3
+ __version__ = "0.1.2.dev2"
@@ -1,25 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: pitlane-web
3
- Version: 0.1.2.dev0
4
- Summary: Web interface for PitLane AI
5
- Project-URL: Homepage, https://github.com/jshudzina/PitLane-AI
6
- Project-URL: Repository, https://github.com/jshudzina/PitLane-AI
7
- Project-URL: Issues, https://github.com/jshudzina/PitLane-AI/issues
8
- Author-email: John Hudzina <pitlaneagent@gmail.com>
9
- License: Apache-2.0
10
- Classifier: Development Status :: 3 - Alpha
11
- Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: Apache Software License
13
- Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3 :: Only
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
18
- Requires-Python: <3.14,>=3.11
19
- Requires-Dist: fastapi>=0.115
20
- Requires-Dist: jinja2>=3.1
21
- Requires-Dist: markdown>=3.5
22
- Requires-Dist: pitlane-agent
23
- Requires-Dist: python-multipart>=0.0.9
24
- Requires-Dist: slowapi>=0.1.9
25
- Requires-Dist: uvicorn[standard]>=0.30