FlowyML Integration
FlowyML Notebook integrates with the centralized FlowyML Platform — giving you production deployment, experiment tracking, pipeline management, and scheduling directly from your notebook.
Connection Modes
| Mode | How It Works | Best For |
|---|---|---|
| Standalone — no server needed | Solo development, exploration | |
| Connected to a FlowyML instance | Team deployment, experiment tracking |
Connecting to FlowyML
Open Env panel → Switch to Remote → Enter server URL → Test Connection → Save
Context Manager
Use FlowyMLConnection as a context manager for automatic cleanup:
Production Pipelines
Promote any notebook to a production-grade Python pipeline with one click.
How Pipeline Promotion Works
When you promote a notebook, FlowyML:
- Extracts all code cells in topological (DAG) order
- Hoists imports to the top of the file
- Converts markdown cells to docstrings and comments
- Adds a
__main__guard for standalone execution - Generates a clean, linted
.pyfile
Via CLI
Export Formats
| Format | Output |
|---|---|
pipeline |
Clean .py file with hoisted imports |
html |
Rich HTML report (dark theme, styled tables) |
docker |
Dockerfile + pipeline + requirements.txt |
Model Deployment
Deploy trained models directly from your notebook to FlowyML Serving:
Deploy as API
Deploy as Docker Container
Generate a production-ready Dockerfile from your notebook:
This generates:
- Dockerfile — Multi-stage build with your pipeline
- requirements.txt — Auto-detected dependencies
- {name}_pipeline.py — Extracted production code
Asset Management
Track kernel assets (DataFrames, models, artifacts) with metadata — size, shape, and type tags.
Remote Asset Catalog
When connected to FlowyML, query the centralized asset catalog:
Experiment Tracking
Track experiments across notebooks with the FlowyML experiment API:
Scheduling
Schedule notebooks for periodic execution:
Remote Execution
Submit notebooks for execution on remote compute nodes:
Full API Reference
For the complete FlowyMLConnection API, see the API Reference.
| Category | Endpoints |
|---|---|
| Pipelines | list_pipelines(), get_pipeline(id) |
| Runs | list_runs(), get_run(id) |
| Assets | list_assets(), get_asset(id) |
| Experiments | list_experiments(), get_experiment(id) |
| Schedules | create_schedule(), list_schedules(), delete_schedule() |
| Deployments | create_deployment(), list_deployments() |
| Execution | submit_pipeline(), get_execution_status(id) |
| Metrics | get_metrics() |
| Config | get_config() |