Lightweight alternative?

I seek “numba without numpy”, something that speeds up plain for loops, arithmetic, and booleans, and never calls np. except maybe for passing np.array() into the function. Numba is rather heavy on download size and compile time and I try to avoid it as a dependency for some of my libraries.

Is there such a lightweight alternative with restricted functionality, or any plan to support it?

Cython (see numpy tutorial) – I thought it meant coding in C

I’d delete this thread but don’t know how

If you want to use something like Numba but not depend on it in your library, can you use Ahead-of-Time (AOT) compilation to distribute your library with the AOT-compiled functions, without depending on Numba?