unumpy

Note

This page describes the overall philosophy behind unumpy. If you are interested in an augmentation for NEP-22, please see the unumpy page.

unumpy builds on top of uarray. It is an effort to specify the core NumPy API, and provide backends for the API.

What’s new in unumpy?

unumpy is the first approach to leverage uarray in order to build a generic backend system for (what we hope will be) the core NumPy API specification. It’s possible to create the backend object, and use that to perform operations. In addition, it’s possible to change the used backend via a context manager.

Relation to the NumPy duck-array ecosystem

uarray is a backend/dispatch mechanism with a focus on array computing and the needs of the wider array community, by allowing a clean way to register an implementation for any Python object (functions, classes, class methods, properties, dtypes, …), it also provides an important building block for NEP-22. It is meant to address the shortcomings of NEP-18 and NEP-13; while still holding nothing in uarray itself that’s specific to array computing or the NumPy API.

Indices and tables