petal-user-journey-coordinator 0.1.5__py3-none-any.whl
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.
- petal_user_journey_coordinator/__init__.py +18 -0
- petal_user_journey_coordinator/controllers.py +3406 -0
- petal_user_journey_coordinator/data_model.py +556 -0
- petal_user_journey_coordinator/plugin.py +2167 -0
- petal_user_journey_coordinator-0.1.5.dist-info/METADATA +87 -0
- petal_user_journey_coordinator-0.1.5.dist-info/RECORD +8 -0
- petal_user_journey_coordinator-0.1.5.dist-info/WHEEL +4 -0
- petal_user_journey_coordinator-0.1.5.dist-info/entry_points.txt +7 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: petal-user-journey-coordinator
|
|
3
|
+
Version: 0.1.5
|
|
4
|
+
Summary: A petal for the DroneLeaf ecosystem
|
|
5
|
+
Author-Email: Khalil Al Handawi <khalil.alhandawi@droneleaf.io>
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Requires-Dist: numpy>=2.2.6
|
|
9
|
+
Requires-Dist: matplotlib>=3.10.6
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# petal-user-journey-coordinator
|
|
13
|
+
|
|
14
|
+
A petal for the DroneLeaf ecosystem.
|
|
15
|
+
|
|
16
|
+
## Description
|
|
17
|
+
|
|
18
|
+
This petal provides [describe your petal's functionality here].
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# For development
|
|
24
|
+
pdm install -G dev
|
|
25
|
+
|
|
26
|
+
# For production
|
|
27
|
+
pdm install
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
This petal provides the following endpoints:
|
|
33
|
+
|
|
34
|
+
- `GET /health` - Health check endpoint that reports proxy requirements and status
|
|
35
|
+
- `GET /hello` - Simple hello world endpoint for testing
|
|
36
|
+
|
|
37
|
+
## Development
|
|
38
|
+
|
|
39
|
+
### Running Tests
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pdm run pytest
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Debugging
|
|
46
|
+
|
|
47
|
+
Use the provided VS Code launch configuration to debug the petal:
|
|
48
|
+
|
|
49
|
+
1. Open VS Code in this directory
|
|
50
|
+
2. Set breakpoints in your plugin.py file
|
|
51
|
+
3. Press F5 to start debugging
|
|
52
|
+
|
|
53
|
+
### Required Proxies
|
|
54
|
+
|
|
55
|
+
This petal requires the following proxies (modify in `get_required_proxies()`):
|
|
56
|
+
- `redis` - For caching and communication
|
|
57
|
+
- `db` - For database operations
|
|
58
|
+
|
|
59
|
+
### Optional Proxies
|
|
60
|
+
|
|
61
|
+
This petal can optionally use (modify in `get_optional_proxies()`):
|
|
62
|
+
- `ext_mavlink` - For MAVLink communication
|
|
63
|
+
|
|
64
|
+
## API Documentation
|
|
65
|
+
|
|
66
|
+
### Health Check
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
GET /health
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Returns health information including:
|
|
73
|
+
- Petal name and version
|
|
74
|
+
- Required and optional proxy lists
|
|
75
|
+
- Custom petal status information
|
|
76
|
+
|
|
77
|
+
### Hello World
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
GET /hello
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Simple endpoint for testing connectivity.
|
|
84
|
+
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
MIT License
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
petal_user_journey_coordinator-0.1.5.dist-info/METADATA,sha256=naPD01tigycgDDkqveOR1KNt7THwe39C70EKxSPh3WM,1635
|
|
2
|
+
petal_user_journey_coordinator-0.1.5.dist-info/WHEEL,sha256=tsUv_t7BDeJeRHaSrczbGeuK-TtDpGsWi_JfpzD255I,90
|
|
3
|
+
petal_user_journey_coordinator-0.1.5.dist-info/entry_points.txt,sha256=KQ6R6_Hkhmre4_ecl2Ri7PKsAk3M-eEZIoTEhSigAQo,150
|
|
4
|
+
petal_user_journey_coordinator/__init__.py,sha256=2SZkPYkJXjCsy_74o2EnFj-N-bTqHzIQXHjOZkIqdo4,598
|
|
5
|
+
petal_user_journey_coordinator/controllers.py,sha256=vEjDKNfZSP-7tkrQjz3q-4Mp_yVyVyohH2F3nfAIc14,152251
|
|
6
|
+
petal_user_journey_coordinator/data_model.py,sha256=cyFWm1xXCIFtU9NluG6XG49SahaIn3Umu7n2aZqkqU8,19822
|
|
7
|
+
petal_user_journey_coordinator/plugin.py,sha256=QCbZ0XhkddGaMzFsqGoeCzitrut86GLqtwhPbq9ELlY,103529
|
|
8
|
+
petal_user_journey_coordinator-0.1.5.dist-info/RECORD,,
|