python -m pip aku
- Primitive types, e.g.,
int
,str
,bool
,float
,Path
. - Container types,
- List, i.e.,
List[T]
- Tuple, i.e., homogeneous
Tuple[T, ...]
and heterogeneousTuple[T1, T2, T3]
- Set and FrozenSet, i.e.,
Set[T]
andFrozenSet[T]
- Literal, e.g.,
Literal[42, 1905]
- List, i.e.,
- Nested types
- Function, e.g.,
Type[F]
- Union of functions, e.g.,
Union[Type[F1], Type[F2], Type[F3]]
- Function, e.g.,