How deephaven/deephaven-plugins works
Main Components
a. Core Framework Layer:
• Plugin Registry/Manager
• Build System
• Development Tools
• Testing Infrastructure
b. Plugin Types Layer:
• Python Plugins
• JavaScript Plugins
• Hybrid Plugins (containing both Python and JS)
c. Integration Layer:
• Docker Container Support
• Deephaven Core Integration
• Development Environment
┌─ Plugin System Architecture ──────────────────────────────────────┐
• ┌─ Development Tools ─────┐ ┌─ Build System ──────────────┐ │
• plugin_builder.py │ │ - Python Build Pipeline │ │
• Pre-commit Hooks │ │ - JavaScript Build Pipeline │ │
• E2E Testing │ │ - Docker Build Support │ │
• ┘ └────────────────────────────┘ │
• ┌─ Plugin Types ───────────────────────────────────────────┐ │
• ┌─ Python Plugins ─┐ ┌─ JavaScript Plugins ─┐ │ │
• JSON │ │ - UI Components │ │ │
• Matplotlib │ │ - Dashboard Widgets │ │ │
• Plotly Express │ │ - Themes │ │ │
• ┘ └───────────────────────┘ │ │
• ┘ │
• ┌─ Integration Layer ────────────────────────────────────────┐ │
• ┌─ Deephaven Core ─┐ ┌─ Docker Environment ─┐ │ │
• Plugin Loading │ │ - Container Config │ │ │
• API Interface │ │ - Volume Mapping │ │ │
• ┘ └────────────────────────┘ │ │
• ┘ │
• ┘
Key Elements to Highlight
a. Plugin Structure:
• Standard layout (pyproject.toml, setup.cfg, src/js structure)
• Versioning independence
• Build artifact flow
b. Development Workflow:
• Pre-commit hook process
• Testing pipeline (E2E, Python tests)
• Demonstrate the build and watch modes
c. Integration Points:
• How plugins connect to Deephaven Core
• Docker container integration
• Development server connections