ubii.framework.util package

ubii.framework.util.debug(enabled: bool | None = None) bool

Call without arguments to get current debug state, pass truthy value to set debug mode.

Parameters:

enabled – If passed, turns debug mode on or off

Returns:

debug value

The following names are imported from elsewhere, to combine all “utility” methods in one place.

ubii.framework.util.accessor

refer to codestare.async_utils.accessor

ubii.framework.util.condition_property

refer to codestare.async_utils.condition_property

ubii.framework.util.make_async

refer to codestare.async_utils.make_async

ubii.framework.util.CoroutineWrapper

refer to codestare.async_utils.CoroutineWrapper

ubii.framework.util.TaskNursery

refer to codestare.async_utils.TaskNursery

ubii.framework.util.async_exit_on_exc

refer to codestare.async_utils.async_exit_on_exc

ubii.framework.util.RegistryMeta

refer to codestare.async_utils.RegistryMeta

ubii.framework.util.Registry

refer to codestare.async_utils.Registry

ubii.framework.util.similar

refer to ubii.framework.util.functools.similar

ubii.framework.util.hook

refer to ubii.framework.util.functools.hook

ubii.framework.util.registry

refer to ubii.framework.util.functools.registry

ubii.framework.util.exc_handler_decorator

refer to ubii.framework.util.functools.exc_handler_decorator

ubii.framework.util.log_call

refer to ubii.framework.util.functools.log_call

ubii.framework.util.ProtoRegistry

refer to ubii.framework.util.functools.ProtoRegistry

ubii.framework.util.function_chain

refer to ubii.framework.util.functools.function_chain

ubii.framework.util.compose

refer to ubii.framework.util.functools.compose

ubii.framework.util.awaitable_predicate

refer to ubii.framework.util.functools.awaitble_predicate

ubii.framework.util.make_dict

refer to ubii.framework.util.functools.make_dict

ubii.framework.util.merge_dicts

refer to ubii.framework.util.functools.merge_dicts

ubii.framework.util.async_compose

refer to ubii.framework.util.functools.async_compose

ubii.framework.util.enrich

refer to ubii.framework.util.functools.enrich

ubii.framework.util.calc_delta

refer to ubii.framework.util.functools.calc_delta

ubii.framework.util.document_decorator

refer to ubii.framework.util.functools.document_decorator

ubii.framework.util.dunder

refer to ubii.framework.util.functools.dunder

Submodules