Skip to content

sabu-chassis

sabu-chassis is a shared library that provides common infrastructure for Sabu services.

It is designed to handle cross-cutting concerns that should not be reimplemented in each service.

Installation

The package is available on PyPI:

https://pypi.org/project/sabu-chassis/

It can be installed with:

pip install sabu-chassis

Purpose

The goal of sabu-chassis is to:

  • standardize service behavior,
  • reduce repeated implementation,
  • provide reusable runtime components,
  • support consistency across services.

Current scope

The current implementation focuses primarily on:

  • logging,
  • service-level runtime conventions,
  • basic configuration patterns.

Logging

Logging is the main implemented feature.

sabu-chassis can be used to launch a consistent logging system in any project.

It supports:

  • structured log output,
  • configurable log levels,
  • centralized logging behavior across services.

Role in services

Sabu services import sabu-chassis to:

  • initialize logging,
  • follow consistent runtime behavior,
  • avoid duplicating infrastructure code.

Future direction

sabu-chassis is expected to expand as more services are aligned with the Sabu architecture.

Future additions may include:

  • configuration management,
  • request tracking,
  • shared utilities for service execution.

Notes

  • sabu-chassis is not a standalone service.
  • It can be used independently in other Python projects.
  • It is used internally by services such as jug_lca_buildings.