fetch_ml/podman/workspace/cli_integration.py
Jeremie Fraeys 7312451cfe Test and verify CLI-Jupyter workflow integration
- Successfully tested Jupyter notebook server with ML tools
- Verified all 6 ML tools working: MLflow 3.7.0, Streamlit 1.52.1, Dash 3.3.0, Panel 1.8.4, Bokeh 3.8.1
- MLflow experiment tracking working (created run ID: 25e6b467101845f1ab577c9cfe553c9c)
- CLI integration helper copied to workspace
- Fixed Jupyter permission issues with proper directory setup
2025-12-06 16:01:03 -05:00

8 lines
294 B
Python

# CLI-Jupyter Integration Helper
import subprocess
import os
def sync_project(project_path):
"""Sync project using CLI"""
cmd = ["../cli/zig-out/bin/ml", "sync", project_path, "--queue"]
result = subprocess.run(cmd, capture_output=True, text=True)
return result.returncode == 0