Nptyping

Latest version: v2.5.0

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

Scan your dependencies

Page 1 of 5

2.5.0

- Added the column wildcard in structure expressions to allow expressing 'a structure with at least ...'.
- Fixed the `help` text for functions that use `nptyping` types as hints.
- Fixed the distribution of `dataframe.pyi` that was missing.
- Fixed the sdist to include tests and dependencies.

2.4.1

- Fixed compatibility with `mypy==0.991`.

2.4.0

- Added hint for pandas DataFrame.
- Fixed bug for checking against a Structure where a different number of fields did not fail the check.
- Changed `nptyping.Int` pointing to the more generic `numpy.integer` rather than `numpy.int32`.
- Added support for Python 3.11 with the exception of `pandas.DataFrame`.

2.3.1

- Fixed mypy error of inheriting final dtype as of numpy==1.23.1.
- Allowed for quotes in shape expressions to appease PyCharm.

2.3.0

- Added support for subarrays with shape expressions inside structure expressions.
- Added support for wildcards in structure expressions.

2.2.0

- Added support for expressing "at least N dimensions".

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.