Closed eleftherioszisis closed 1 month ago
@addisonElliott would it be possible to schedule a release at a convenient time? This would allow us to update our tools. Thank you very much in advance!
Sorry, I've been meaning to find the time to do that. Hopefully this weekend or next week. I have another feature I want to merge in and do a minor release.
I was going to do a major release, but I think it's a minor enough change that a minor will suffice.
Fixes #152, #153
I replaced
nptyping
NDArray occurrences withnumpy.typing
ones.I am not sure if it's possible to specify shape restrictions without forcing the package to require
python>=3.9
so that type subscription is available and things likenp.ndarray[Literal[1], np.dtype[Any]]
can be declared.Note that
numpy.typing.NDArray
is a type alias fornp.ndarray[Any, np.dtype[+ScalarType]]
whereScalarType
contains the following types:Although it is simpler to use it as it is, please let me know if a more permissible
NDArray[Any]
is preferred.