CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-deeplake

Database for AI powered by a storage format optimized for deep-learning applications.

75

1.59x

Evaluation75%

1.59x

Agent success when using this tile

Overview
Eval results
Files

task.mdevals/scenario-3/

Dataset Manager

A utility for managing ML datasets with support for local and cloud storage backends.

Capabilities

Dataset Creation

Creates new datasets at specified storage locations.

  • Creating a new dataset at "./data/ml_dataset" returns a dataset object that can be used for operations @test

Dataset Opening

Opens existing datasets for read or write access.

  • Opening an existing dataset at "./data/existing_dataset" for writing allows data modifications @test

Dataset Existence Check

Checks whether a dataset exists at a given location.

  • Checking if a dataset exists at "./data/test_ds" returns True when present, False when absent @test

Dataset Deletion

Permanently removes datasets from storage.

  • Deleting a dataset at "./data/to_delete" removes it and subsequent existence checks return False @test

Implementation

@generates

API

class DatasetManager:
    """
    Manages dataset lifecycle operations.
    """

    def create_dataset(self, path: str) -> object:
        """
        Create a new dataset at the specified path.

        Parameters:
        - path: Location where dataset should be created

        Returns:
        Dataset object for data operations
        """
        pass

    def open_dataset(self, path: str) -> object:
        """
        Open an existing dataset for access.

        Parameters:
        - path: Location of the dataset to open

        Returns:
        Dataset object for operations
        """
        pass

    def exists(self, path: str) -> bool:
        """
        Check if a dataset exists at the specified path.

        Parameters:
        - path: Location to check

        Returns:
        True if dataset exists, False otherwise
        """
        pass

    def delete_dataset(self, path: str) -> None:
        """
        Permanently delete a dataset.

        Parameters:
        - path: Location of dataset to delete
        """
        pass

Dependencies { .dependencies }

deeplake { .dependency }

Provides database capabilities for AI with optimized storage for deep-learning applications.

@satisfied-by

Install with Tessl CLI

npx tessl i tessl/pypi-deeplake

tile.json