petal-user-journey-coordinator 0.1.5__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.
@@ -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,76 @@
1
+ # petal-user-journey-coordinator
2
+
3
+ A petal for the DroneLeaf ecosystem.
4
+
5
+ ## Description
6
+
7
+ This petal provides [describe your petal's functionality here].
8
+
9
+ ## Installation
10
+
11
+ ```bash
12
+ # For development
13
+ pdm install -G dev
14
+
15
+ # For production
16
+ pdm install
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ This petal provides the following endpoints:
22
+
23
+ - `GET /health` - Health check endpoint that reports proxy requirements and status
24
+ - `GET /hello` - Simple hello world endpoint for testing
25
+
26
+ ## Development
27
+
28
+ ### Running Tests
29
+
30
+ ```bash
31
+ pdm run pytest
32
+ ```
33
+
34
+ ### Debugging
35
+
36
+ Use the provided VS Code launch configuration to debug the petal:
37
+
38
+ 1. Open VS Code in this directory
39
+ 2. Set breakpoints in your plugin.py file
40
+ 3. Press F5 to start debugging
41
+
42
+ ### Required Proxies
43
+
44
+ This petal requires the following proxies (modify in `get_required_proxies()`):
45
+ - `redis` - For caching and communication
46
+ - `db` - For database operations
47
+
48
+ ### Optional Proxies
49
+
50
+ This petal can optionally use (modify in `get_optional_proxies()`):
51
+ - `ext_mavlink` - For MAVLink communication
52
+
53
+ ## API Documentation
54
+
55
+ ### Health Check
56
+
57
+ ```
58
+ GET /health
59
+ ```
60
+
61
+ Returns health information including:
62
+ - Petal name and version
63
+ - Required and optional proxy lists
64
+ - Custom petal status information
65
+
66
+ ### Hello World
67
+
68
+ ```
69
+ GET /hello
70
+ ```
71
+
72
+ Simple endpoint for testing connectivity.
73
+
74
+ ## License
75
+
76
+ MIT License
@@ -0,0 +1,46 @@
1
+ [project]
2
+ name = "petal-user-journey-coordinator"
3
+ version = "0.1.5"
4
+ description = "A petal for the DroneLeaf ecosystem"
5
+ authors = [
6
+ { name = "Khalil Al Handawi", email = "khalil.alhandawi@droneleaf.io" },
7
+ ]
8
+ dependencies = [
9
+ "numpy>=2.2.6",
10
+ "matplotlib>=3.10.6",
11
+ ]
12
+ requires-python = ">=3.10"
13
+ readme = "README.md"
14
+
15
+ [project.license]
16
+ text = "MIT"
17
+
18
+ [project.entry-points."petal.plugins"]
19
+ petal_user_journey_coordinator = "petal_user_journey_coordinator.plugin:PetalUserJourneyCoordinator"
20
+
21
+ [build-system]
22
+ requires = [
23
+ "pdm-backend",
24
+ ]
25
+ build-backend = "pdm.backend"
26
+
27
+ [tool.pdm]
28
+ distribution = true
29
+
30
+ [dependency-groups]
31
+ dev = [
32
+ "pytest>=8.4.2",
33
+ "pytest-asyncio>=1.2.0",
34
+ "anyio>=4.9.0",
35
+ "pytest-cov>=6.2.1",
36
+ "-e file:///${PROJECT_ROOT}/../petal-app-manager/#egg=petal-app-manager",
37
+ "leaf-pymavlink @ file:///${PROJECT_ROOT}/../mavlink/pymavlink",
38
+ ]
39
+ test = [
40
+ "pytest>=8.4.0",
41
+ "pytest-asyncio>=1.0.0",
42
+ "anyio>=4.9.0",
43
+ "pytest-cov>=6.2.1",
44
+ "petal-app-manager==0.1.46",
45
+ "leaf-pymavlink>=0.1.11",
46
+ ]
@@ -0,0 +1,18 @@
1
+ """
2
+ petal-user-journey-coordinator - A DroneLeaf Petal
3
+ ===============================
4
+
5
+ This petal provides functionality for the DroneLeaf ecosystem.
6
+ """
7
+
8
+ import logging
9
+ from importlib.metadata import PackageNotFoundError, version as _pkg_version
10
+
11
+ logger = logging.getLogger(__name__)
12
+
13
+ try:
14
+ # ⚠️ Use the *distribution* name (what you put in pyproject.toml), not necessarily the import name
15
+ __version__ = _pkg_version("petal-user-journey-coordinator")
16
+ except PackageNotFoundError:
17
+ # Useful during local development before install; pick what you prefer here
18
+ __version__ = "0.0.0"