fetch_ml/podman/cli_integration.py
Jeremie Fraeys 34c632dcde Create CLI-Jupyter integration workflow
- Add jupyter_launcher.sh script to start Jupyter with ML tools
- Create cli_integration.py helper for CLI operations
- Add sample notebook structure for experiments
- Create workflow documentation for seamless data science integration
2025-12-06 15:59:08 -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