kailash 0.1.0__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.
- kailash/__init__.py +31 -0
- kailash/__main__.py +11 -0
- kailash/cli/__init__.py +5 -0
- kailash/cli/commands.py +563 -0
- kailash/manifest.py +778 -0
- kailash/nodes/__init__.py +23 -0
- kailash/nodes/ai/__init__.py +26 -0
- kailash/nodes/ai/agents.py +417 -0
- kailash/nodes/ai/models.py +488 -0
- kailash/nodes/api/__init__.py +52 -0
- kailash/nodes/api/auth.py +567 -0
- kailash/nodes/api/graphql.py +480 -0
- kailash/nodes/api/http.py +598 -0
- kailash/nodes/api/rate_limiting.py +572 -0
- kailash/nodes/api/rest.py +665 -0
- kailash/nodes/base.py +1032 -0
- kailash/nodes/base_async.py +128 -0
- kailash/nodes/code/__init__.py +32 -0
- kailash/nodes/code/python.py +1021 -0
- kailash/nodes/data/__init__.py +125 -0
- kailash/nodes/data/readers.py +496 -0
- kailash/nodes/data/sharepoint_graph.py +623 -0
- kailash/nodes/data/sql.py +380 -0
- kailash/nodes/data/streaming.py +1168 -0
- kailash/nodes/data/vector_db.py +964 -0
- kailash/nodes/data/writers.py +529 -0
- kailash/nodes/logic/__init__.py +6 -0
- kailash/nodes/logic/async_operations.py +702 -0
- kailash/nodes/logic/operations.py +551 -0
- kailash/nodes/transform/__init__.py +5 -0
- kailash/nodes/transform/processors.py +379 -0
- kailash/runtime/__init__.py +6 -0
- kailash/runtime/async_local.py +356 -0
- kailash/runtime/docker.py +697 -0
- kailash/runtime/local.py +434 -0
- kailash/runtime/parallel.py +557 -0
- kailash/runtime/runner.py +110 -0
- kailash/runtime/testing.py +347 -0
- kailash/sdk_exceptions.py +307 -0
- kailash/tracking/__init__.py +7 -0
- kailash/tracking/manager.py +885 -0
- kailash/tracking/metrics_collector.py +342 -0
- kailash/tracking/models.py +535 -0
- kailash/tracking/storage/__init__.py +0 -0
- kailash/tracking/storage/base.py +113 -0
- kailash/tracking/storage/database.py +619 -0
- kailash/tracking/storage/filesystem.py +543 -0
- kailash/utils/__init__.py +0 -0
- kailash/utils/export.py +924 -0
- kailash/utils/templates.py +680 -0
- kailash/visualization/__init__.py +62 -0
- kailash/visualization/api.py +732 -0
- kailash/visualization/dashboard.py +951 -0
- kailash/visualization/performance.py +808 -0
- kailash/visualization/reports.py +1471 -0
- kailash/workflow/__init__.py +15 -0
- kailash/workflow/builder.py +245 -0
- kailash/workflow/graph.py +827 -0
- kailash/workflow/mermaid_visualizer.py +628 -0
- kailash/workflow/mock_registry.py +63 -0
- kailash/workflow/runner.py +302 -0
- kailash/workflow/state.py +238 -0
- kailash/workflow/visualization.py +588 -0
- kailash-0.1.0.dist-info/METADATA +710 -0
- kailash-0.1.0.dist-info/RECORD +69 -0
- kailash-0.1.0.dist-info/WHEEL +5 -0
- kailash-0.1.0.dist-info/entry_points.txt +2 -0
- kailash-0.1.0.dist-info/licenses/LICENSE +21 -0
- kailash-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,62 @@
|
|
1
|
+
"""Visualization components for Kailash SDK.
|
2
|
+
|
3
|
+
This module provides comprehensive visualization capabilities for workflows,
|
4
|
+
performance metrics, execution tracking, real-time monitoring, and reporting.
|
5
|
+
|
6
|
+
Components:
|
7
|
+
- PerformanceVisualizer: Static performance chart generation
|
8
|
+
- RealTimeDashboard: Live workflow monitoring and metrics collection
|
9
|
+
- WorkflowPerformanceReporter: Comprehensive performance report generation
|
10
|
+
- SimpleDashboardAPI: Simple API interface for dashboard functionality
|
11
|
+
- DashboardAPIServer: Full FastAPI server for web integration (requires FastAPI)
|
12
|
+
"""
|
13
|
+
|
14
|
+
from kailash.visualization.api import SimpleDashboardAPI
|
15
|
+
from kailash.visualization.dashboard import (
|
16
|
+
DashboardConfig,
|
17
|
+
DashboardExporter,
|
18
|
+
LiveMetrics,
|
19
|
+
RealTimeDashboard,
|
20
|
+
)
|
21
|
+
from kailash.visualization.performance import PerformanceVisualizer
|
22
|
+
from kailash.visualization.reports import (
|
23
|
+
PerformanceInsight,
|
24
|
+
ReportConfig,
|
25
|
+
ReportFormat,
|
26
|
+
WorkflowPerformanceReporter,
|
27
|
+
WorkflowSummary,
|
28
|
+
)
|
29
|
+
|
30
|
+
# Optional FastAPI server (only available if FastAPI is installed)
|
31
|
+
try:
|
32
|
+
from kailash.visualization.api import DashboardAPIServer
|
33
|
+
|
34
|
+
__all__ = [
|
35
|
+
"PerformanceVisualizer",
|
36
|
+
"RealTimeDashboard",
|
37
|
+
"DashboardConfig",
|
38
|
+
"LiveMetrics",
|
39
|
+
"DashboardExporter",
|
40
|
+
"WorkflowPerformanceReporter",
|
41
|
+
"ReportConfig",
|
42
|
+
"ReportFormat",
|
43
|
+
"PerformanceInsight",
|
44
|
+
"WorkflowSummary",
|
45
|
+
"SimpleDashboardAPI",
|
46
|
+
"DashboardAPIServer",
|
47
|
+
]
|
48
|
+
except ImportError:
|
49
|
+
# FastAPI not available
|
50
|
+
__all__ = [
|
51
|
+
"PerformanceVisualizer",
|
52
|
+
"RealTimeDashboard",
|
53
|
+
"DashboardConfig",
|
54
|
+
"LiveMetrics",
|
55
|
+
"DashboardExporter",
|
56
|
+
"WorkflowPerformanceReporter",
|
57
|
+
"ReportConfig",
|
58
|
+
"ReportFormat",
|
59
|
+
"PerformanceInsight",
|
60
|
+
"WorkflowSummary",
|
61
|
+
"SimpleDashboardAPI",
|
62
|
+
]
|