Skip to content

Support types and utilities

orionis.support is Orionis’s shared utility layer. It contains the facades used to reach framework services, value-oriented helper types, entity serialization, immutable structure helpers, reusable metaclasses, exception formatting, timing, worker sizing, and the built-in inspirational quote provider.

The package deliberately has two levels of API. orionis.support.facades and orionis.support.types provide curated imports; lower-level helpers are imported from their defining modules. The root orionis.support package itself does not re-export these objects.

  • Python 3.14 or newer.
  • The Orionis runtime and its declared dependencies. This module directly uses pendulum, dotty-dict, and psutil.
  • A bootstrapped Orionis application before calling service-backed facades. DateTime is a standalone class and does not require the container for ordinary date operations.

Continue with: container · schemas.

Application taskStart with
Transform an already loaded listCollection from orionis.support.types.
Normalize text or create a slugStringable from orionis.support.types.
Serialize a result with known fieldsA dataclass extending BaseEntity.
Work with dates and time zonesDateTime from orionis.support.facades; no container is needed for ordinary operations.
Call a configured framework serviceIts facade after bootstrap, or its service contract through dependency injection.

These are Python utilities you can import into your application; they do not create SQL tables or validate a request automatically. Use schemas for external input and container bindings for service dependencies.