LightNumPy (experimental)#

A lightweight version of NumPy (or similar functionality).

Why LightNumPy?#

Performance-Driven: Optimized for both CPU and hardware accelerators (GPU/TPU). Focused: Includes essential features without unnecessary overhead. Adaptable: Modular structure for customized extensions. Scalable: Ideal for IoT, embedded systems, and resource-limited devices.

Get Header files location:

>>> try:
>>>   # pip install git+https://github.com/scikit-plots/lightnumpy.git@main
>>>   import lightnumpy as lp
>>>   # Return the directory that contains the lightnumpy and NumCpp *.h header files.
>>>   inc_dir_lightnumpy = lp.get_include()
>>> except: pass
>>> else:
>>>   !ls $inc_dir_lightnumpy
lightnumpy  NumCpp