typing

numcodecs_tokenize.typing

Commonly used type variables.

S module-attribute

S = TypeVar('S', bound=tuple[int, ...], covariant=True)

Any array shape (covariant).

T module-attribute

T = TypeVar('T', bound=number, covariant=True)

Any numpy number data type (covariant).

U module-attribute

U = TypeVar('U', bound=unsignedinteger, covariant=True)

Any numpy unsignedinteger data type (covariant).