Name: numpy-stubs
Owner: NumPy
Description: Experimental typing stubs for NumPy
Created: 2017-11-22 20:18:31.0
Updated: 2018-05-23 12:18:26.0
Pushed: 2018-05-10 21:34:58.0
Homepage: null
Size: 21
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository exists for developing PEP 484 compatible typing annotations for NumPy.
It will be released as a separate “numpy-stubs” package on PyPI per PEP 561. This will let us iterate rapidly on experimental type annotations without coupling to NumPy's release cycle.
The plan (help wanted!):
numpy.ndarray
without dtypes or shapes.np.ndarray[np.float64]
, but will need a
decision about appropriate syntax for shape typing to ensure that this is
forwards compatible with typing shapes.ndarray.__class_getitem__
per PEP 560.Eventually, once development has stabilized, we expect to merge these type stubs into the main NumPy repository.