panel-flowdash 0.0.0a0__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.
- panel_flowdash/__init__.py +48 -0
- panel_flowdash/app.py +1039 -0
- panel_flowdash/command/__init__.py +40 -0
- panel_flowdash/command/__main__.py +5 -0
- panel_flowdash/command/serve.py +123 -0
- panel_flowdash/component_spec.py +161 -0
- panel_flowdash/dashboard_store.py +245 -0
- panel_flowdash/dataflow_engine.py +261 -0
- panel_flowdash/py.typed +0 -0
- panel_flowdash/registry.py +113 -0
- panel_flowdash/session_state.py +70 -0
- panel_flowdash-0.0.0a0.dist-info/METADATA +157 -0
- panel_flowdash-0.0.0a0.dist-info/RECORD +16 -0
- panel_flowdash-0.0.0a0.dist-info/WHEEL +4 -0
- panel_flowdash-0.0.0a0.dist-info/entry_points.txt +2 -0
- panel_flowdash-0.0.0a0.dist-info/licenses/LICENSE.txt +30 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""panel-flowdash: Dataflow and draggable grid based dashboard editor for Panel."""
|
|
2
|
+
|
|
3
|
+
import importlib.metadata
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
from panel_flowdash.component_spec import (
|
|
7
|
+
ComponentSpec,
|
|
8
|
+
InputPort,
|
|
9
|
+
OutputPort,
|
|
10
|
+
build_component_spec,
|
|
11
|
+
build_component_specs,
|
|
12
|
+
)
|
|
13
|
+
from panel_flowdash.dashboard_store import (
|
|
14
|
+
DashboardEdge,
|
|
15
|
+
DashboardItem,
|
|
16
|
+
DashboardModel,
|
|
17
|
+
DashboardStore,
|
|
18
|
+
)
|
|
19
|
+
from panel_flowdash.dataflow_engine import DataflowGraph, build_node_state_class
|
|
20
|
+
from panel_flowdash.registry import PanelAppMetadata, RegistryEntry, panel_app, register
|
|
21
|
+
from panel_flowdash.session_state import build_session_state_class, check_requirements
|
|
22
|
+
|
|
23
|
+
try:
|
|
24
|
+
__version__ = importlib.metadata.version(__name__)
|
|
25
|
+
except importlib.metadata.PackageNotFoundError as e: # pragma: no cover
|
|
26
|
+
warnings.warn(f"Could not determine version of {__name__}\n{e!s}", stacklevel=2)
|
|
27
|
+
__version__ = "unknown"
|
|
28
|
+
|
|
29
|
+
__all__: list[str] = [
|
|
30
|
+
"__version__",
|
|
31
|
+
"ComponentSpec",
|
|
32
|
+
"DashboardEdge",
|
|
33
|
+
"DashboardItem",
|
|
34
|
+
"DashboardModel",
|
|
35
|
+
"DashboardStore",
|
|
36
|
+
"DataflowGraph",
|
|
37
|
+
"InputPort",
|
|
38
|
+
"OutputPort",
|
|
39
|
+
"PanelAppMetadata",
|
|
40
|
+
"RegistryEntry",
|
|
41
|
+
"build_component_spec",
|
|
42
|
+
"build_component_specs",
|
|
43
|
+
"build_node_state_class",
|
|
44
|
+
"build_session_state_class",
|
|
45
|
+
"check_requirements",
|
|
46
|
+
"panel_app",
|
|
47
|
+
"register",
|
|
48
|
+
]
|