Installation¶
Requirements¶
- Python 3.10 or newer
- The only runtime dependencies are NumPy and Numba — both are installed automatically.
Install¶
That is the whole story: no compilers to configure, no optional native extensions. Numba brings its own LLVM-based compiler.
Verify¶
The cache kill-switch¶
Numba caches compiled kernels to disk. On multi-process farms, network filesystems, and ephemeral containers that cache can be dangerous — see Cache for the full story. If you hit crashes that look like they come from a stale or shared cache, disable it globally:
This override wins even over per-call cache=True, by design: it exists
as an environment policy tool, and a policy any call site can defeat is
not a policy.
Development install¶
git clone https://github.com/nicoseijas/numba-utils.git
cd numba-utils
python -m venv .venv
.venv/Scripts/pip install -e .[dev] # POSIX: .venv/bin/pip
.venv/Scripts/python -m pytest
See Contributing for the rules — benchmarks are mandatory, honesty is policy.