Skip to content

omnipy.util

Omnipy utility functions and helpers package.

MODULE DESCRIPTION
callable_decorator

Support class-based decorators that behave like function decorators.

callable_types

Helpers and literal enums for classifying and wrapping callable shapes.

contexts

Context managers and context helper utilities used across Omnipy.

dataframe

Helpers for slicing multi-index pandas dataframes by label groups.

decorators

Decorator helpers for callbacks, properties, and dual-bound methods.

docstr_macros

Docstring macro expansion utilities.

griffe_extension

Griffe extensions used when generating Omnipy API documentation.

helpers

General-purpose helper functions shared across Omnipy.

literal_enum

Literal-backed enum utilities for typed choice sets with direct value usage.

literal_enum_generator

Helpers for generating LiteralEnum source code from value collections.

memo

Reference-count-aware memo helpers for controlled deep-copy cleanup.

mixin

Dynamic mixin composition utilities for runtime-generated subclasses.

param_key_mapper

Utilities for renaming parameter keys between paired vocabularies.

publisher

Observable Pydantic models for propagating attribute change notifications.

range_lookup

Fast membership lookup for collections of non-negative integer ranges.

setdeque

Ordered unique queue utilities.

weak

Weak-reference containers keyed by object identity.