I want to use numpy C array api (https://numpy.org/doc/stable/reference/c-api/array.html) using ctypes python library. Similarly to how I can use python c api with ctypes. For example, I can reference PyLong_FromLong function like this:
ctypes.pythonapi.PyLong_FromLong
Is this possible to do? Is there some compiled .so file that I can load like this
np_api = ctypes.CDLL(file_path)
to be able to use numpy api?