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.
@@ -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
+ ]