hoops_ai.storage

Quick Overview

Classes

DataStorage()

OptStorage(store_path[, compress_extension])

Handles storage and retrieval of data using Zarr, including:

JsonStorageHandler(json_dir_path)

Handles the storage and retrieval of data using JSON files.

MemoryStorage()

DatasetInfo(info_files, merged_store_path, ...)

Handles:

DatasetMerger([zip_files, ...])

Handles the merging of multiple .zip Zarr files into a single store (plus optional partial batching logic).

MLStorage()

PyGGraphStoreHandler()

LabelStorage(path_for_storing[, ...])

Class for encoding and decoding labels.

MetricStorage(store)

Abstract class defining the interface for storing machine learning metrics based on their type of data and visualization.

CADFileRetriever(storage_provider[, ...])

LocalStorageProvider(directory_path)

SchemaTemplates()

Collection of predefined schema templates for common use cases.

Functions

convert_storage(source_handler, dest_handler)

Generic converter that works with ANY DataStorage implementation.

Data Storage Module

The Storage module provides persistent storage solutions for CAD data, ML models, and analysis results. It offers a unified interface for various storage backends, optimized for the unique requirements of CAD data processing and machine learning workflows.

This module handles the efficient storage and retrieval of large-scale CAD datasets, encoded geometric data, trained ML models, and experimental results. It provides both high-performance options for production use and convenient formats for development and prototyping.

For storage architecture details and usage patterns, see the Data Storage Programming Guide.