| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Warning
This package is in early development and is not yet stable. It is intended as a typing toolkit for working with the Python array API standard, but it may change significantly in the future.
pip install array-api-typinguv add array-api-typingpip install git+https://github.com/data-apis/array-api-typing.gitcd /path/to/parent
git clone https://github.com/data-apis/array-api-typing.git
cd array-api-typing
pip install -e . # editable mode>>> import array_api_typing as xpt
>>> import numpy as np
>>> def func(x: xpt.HasArrayNamespace) -> xpt.HasArrayNamespace:
... return x
>>> func(np.array([1, 2, 3]))
array([1, 2, 3])
| Back | FazBrowse Home | New Git URL |