riptable.config

General-purpose settings for configuring riptable behavior.

This module provides a class encapsulating riptable settings and feature flags, along with functions for retrieving a top-level, process-wide instance of the class.

Classes

Settings

Encapsulates process-wide settings and feature-flags for riptable.

Functions

get_global_settings()

Get the global (process-wide) Settings instance.

class riptable.config.Settings

Bases: NamedTuple

Encapsulates process-wide settings and feature-flags for riptable.

enable_numba_cache: bool = False

Controls whether the numba JIT cache is enabled for functions within riptable. This is disabled (False) by default because the caching can lead to occasional segfaults in numba-compiled code for some users, possibly caused by a race condition or filesystem non-atomicity.

riptable.config.get_global_settings()

Get the global (process-wide) Settings instance.

Returns:

Global (process-wide) settings.

Return type:

Settings