mixle.utils.optional_deps moduleΒΆ
Optional-dependency shims so the base install works without the heavy extras.
numba: when installed, the real module is re-exported. When missing, a no-op stand-in is provided whose jit/njit decorators return the function unchanged and whose prange is range - the jitted code paths then run as pure Python (correct, but slow). Install the accelerated paths with:
pip install mixle[numba]
pyspark: pyspark is None when missing and RDD_TYPES is an empty tuple, so isinstance(data, RDD_TYPES) is simply False and the estimation helpers fall through to their local implementations. Install with:
pip install mixle[spark]