CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-zenml

ZenML is a unified MLOps framework that extends battle-tested machine learning operations principles to support the entire AI stack, from classical machine learning models to advanced AI agents.

Overview
Eval results
Files

utilities.mddocs/

Utilities

Utility functions for dashboard, environment operations, and other helpers.

Capabilities

Show Dashboard

def show(port: int = None):
    """
    Opens the ZenML dashboard in a browser.

    Starts the ZenML dashboard server (if not already running) and
    opens it in the default web browser.

    Parameters:
    - port: Port number to use (optional, default: 8237)

    Example:
    ```python
    from zenml import show

    # Open dashboard on default port
    show()

    # Open dashboard on custom port
    show(port=8080)
    ```

    Note: Also available as:
    ```python
    from zenml.utils.dashboard_utils import show_dashboard
    show_dashboard()
    ```
    """

Import from:

from zenml import show

Usage Examples

Opening Dashboard

from zenml import show

# Open dashboard
show()

Custom Port

from zenml import show

# Open on specific port
show(port=8080)

Dashboard in Scripts

from zenml import pipeline, step, show
from zenml.client import Client

@step
def train_model(data: list) -> dict:
    return {"model": "trained"}

@pipeline
def training_pipeline():
    train_model([1, 2, 3])

if __name__ == "__main__":
    # Run pipeline
    training_pipeline()

    # Open dashboard to view results
    show()

Install with Tessl CLI

npx tessl i tessl/pypi-zenml

docs

artifact-config.md

artifacts.md

client.md

config.md

enums.md

exceptions.md

hooks.md

index.md

integrations.md

materializers.md

metadata-tags.md

models.md

pipelines-and-steps.md

pydantic-models.md

services.md

stack-components.md

stacks.md

types.md

utilities.md

tile.json