Skip to main content

Protege Common

The Protege Common library provides shared utilities, models, and abstractions used across the Protege ecosystem. It serves as the foundation for components such as protege-engine, protege-runtime, and protege-pipelines.

✨ Features

  • Shared Data Structures

    • Includes common dataclasses, constants, and helper functions.
    • Ensures consistent logic across Protege modules.
  • Model Interfaces

    • Provides interfaces or base classes used in model packaging and IO.
  • Utilities

    • Functions for configuration management, type-safe JSON parsing, serialization, and path utilities.
  • No External Dependencies

    • Designed to be lightweight and dependency-free when possible.

📦 Usage

This package is intended to be imported as a core dependency by other Protege submodules:

from protege_common.utils import some_shared_function

🔧 Configuration

No special configuration is required. This library is loaded and used internally by higher-level modules.