Skip to content

Releases: ramonhagenaars/nptyping

v2.5.0

20 Feb 21:58
085487d
Compare
Choose a tag to compare
  • 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.

v2.4.1

16 Nov 20:36
Compare
Choose a tag to compare
  • Fixed compatibility with mypy==0.991.

v2.4.0

14 Nov 20:51
01b60b0
Compare
Choose a tag to compare
  • 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.

v2.3.1

30 Aug 18:23
aeea6cb
Compare
Choose a tag to compare
  • Fixed mypy error of inheriting final dtype as of numpy==1.23.1.
  • Allowed for quotes in shape expressions to appease PyCharm.

v2.3.0

28 Aug 11:44
389c5a1
Compare
Choose a tag to compare
  • Added support for subarrays with shape expressions inside structure expressions.
  • Added support for wildcards in structure expressions.

v2.2.0

26 Jun 14:31
260da26
Compare
Choose a tag to compare
  • Added support for expressing "at least N dimensions".

v2.1.3

19 Jun 10:49
0e37975
Compare
Choose a tag to compare
  • Fixed typing issue with Pyright/Pylance that caused the message: "Literal" is not a class
  • Fixed wrong error message when an invalid Structure was provided to NDArray.

v2.1.2

08 Jun 19:42
14a6bba
Compare
Choose a tag to compare
  • Fixed bug that caused MyPy to fail with the message: Value of type variable "_DType_co" of "ndarray" cannot be "floating[Any]"

v2.1.1

01 Jun 19:49
a95dd01
Compare
Choose a tag to compare
  • Fixed bug that numpy ndarrays were incorrectly instance checked against RecArray.

v2.1.0

01 Jun 18:37
630f32b
Compare
Choose a tag to compare
  • Added Structure and "structure expressions" to support structured arrays.
  • Added RecArray.