Nptyping

Latest version: v2.5.0

Safety actively analyzes 724004 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

2.0.0a2

- Changed the interface of `NDArray`: switched the order to `NDArray[SHAPE, DTYPE]` to be compatible to `numpy.ndarray.pyi`
- Added autocompletion for all attributes of `ndarray` by changing the implementation of `NDArray`
- Added CONTRIBUTING.md
- Added support for dynamic type checker: beartype
- Added support for dynamic type checker: typeguard

2.0.0a1

- Changed the interface of `NDArray`
- Added MyPy-acceptance (limited static type checking)
- Added support for variables
- Added support for labels and named dimensions
- Added support for all numpy dtypes with `NDArray`
- Removed support for Python 3.5 and Python 3.6

1.4.4

- Fixed instance checks with 0d arrays.

1.4.3

- Fixed setup.py to exclude test(-resources) in the wheel.

1.4.2

- Fixed instance check that was incompatible with `typish==1.9.2`.

1.4.1

- Fixed instance checks of some types that did not properly respond to non-numpy types.
- Fixed instance checks with ``nptyping.Object``.
- Fixed identities of NPTyping instances: ``NDArray[(3,), int] is NDArray[(3,), int]``.

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.