"""Minimal numpy stand-in for running server-py/sidecar.py without numpy. Put this directory on PYTHONPATH (with `python3 -S` so the real site-packages stay out). The sidecar only calls `np.fromfile(path, dtype=np.float32)`; the stub returns the raw bytes so the faster_whisper stub can report their size. """ float32 = "float32" def fromfile(path, dtype=None): with open(path, "rb") as handle: return handle.read()