- Notifications
You must be signed in to change notification settings - Fork5
Static typing support for the array API standard
License
NotificationsYou must be signed in to change notification settings
data-apis/array-api-typing
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Warning
This package is in early development and is not yet stable. It is intended as a typing toolkitfor working with thePython array API standard, but itmay change significantly in the future.
pip install array-api-typing
usinguv
uv add array-api-typing
from source, using pip
pip install git+https://github.com/data-apis/array-api-typing.git
building from source
cd /path/to/parentgit clone https://github.com/data-apis/array-api-typing.gitcd array-api-typingpip install -e.# editable mode
>>>import array_api_typingas xpt>>>import numpyas np>>>deffunc(x: xpt.HasArrayNamespace) -> xpt.HasArrayNamespace:...return x>>> func(np.array([1,2,3]))array([1, 2, 3])
About
Static typing support for the array API standard
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.