CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-kedro

Kedro helps you build production-ready data and analytics pipelines

Overall
score

98%

Overview
Eval results
Files

task.mdevals/scenario-19/

Data Pipeline CLI Extension

Build a command-line tool that extends a data pipeline framework with custom commands for managing pipeline metadata and generating reports.

Capabilities

Plugin Registration

Register a custom command that can be invoked from the command line. The command should be automatically discovered and available when the tool is installed.

  • Installing the package makes a metadata command available that can be invoked from the CLI @test

Metadata Display Command

Implement a command that displays metadata about available pipelines in the project.

  • Running metadata list displays a formatted list of all registered pipelines with their names @test
  • Running metadata list --format json outputs pipeline information in JSON format @test

Pipeline Statistics Command

Implement a command that shows statistics about a specific pipeline.

  • Running metadata stats <pipeline_name> displays the number of nodes, inputs, and outputs for the specified pipeline @test

Implementation

@generates

API

"""
CLI plugin for displaying pipeline metadata and statistics.
"""

def list_pipelines(ctx, format):
    """
    List all available pipelines in the project.

    Args:
        ctx: Context object containing the session
        format: Output format ('text' or 'json')
    """
    pass

def show_stats(ctx, pipeline_name):
    """
    Show statistics for a specific pipeline.

    Args:
        ctx: Context object containing the session
        pipeline_name: Name of the pipeline to analyze
    """
    pass

def commands():
    """
    Entry point that returns the CLI command group.

    Returns:
        Command group to be registered as a plugin
    """
    pass

Dependencies { .dependencies }

kedro { .dependency }

Provides the data pipeline framework with CLI extensibility support and pipeline management capabilities.

@satisfied-by

click { .dependency }

Provides command-line interface creation support.

@satisfied-by

Install with Tessl CLI

npx tessl i tessl/pypi-kedro

tile.json