Services#

The services module provides infrastructure services for the Brisk framework, including logging, I/O operations, metadata management, and reporting coordination.

Module Contents#

Object

Description

BaseService

Abstract base class for all services in the Brisk framework.

CaptureStrategy

Strategy for capturing experiment state for reruns.

CoordinatingStrategy

Strategy for coordinating multiple rerun operations.

FileFormatter

Formats log messages with a visual separator between log entries.

FileFormatter

Formats log messages with a visual separator between log entries.

GlobalServiceManager

Manages global service instances and dependencies.

IOService

Provides file input/output operations and data serialization.

LoggingService

Manages logging configuration and handlers.

MetadataService

Manages experiment metadata and versioning information.

NumpyEncoder

JSON encoder for NumPy arrays and data types.

ReportingContext

Context manager for report generation operations.

ReportingService

Coordinates report generation and data collection.

RerunService

Manages experiment rerun capabilities and strategies.

RerunStrategy

Abstract base class for rerun strategies.

ServiceBundle

Bundles related services together for easier management.

TqdmLoggingHandler

Logs messages to stdout or stderr using tqdm.

TqdmLoggingHandler

Logs messages to stdout or stderr using tqdm.

UtilityService

Provides common utility functions and helpers.