Generating type annotations from sampled production types
conda install conda-forge::monkeytype
conda install conda-forge/label/cf201901::monkeytype
conda install conda-forge/label/cf202003::monkeytype
conda install conda-forge/label/gcc7::monkeytype
MonkeyType collects runtime types of function arguments and return values, and can automatically generate stub files or even add draft type annotations directly to your Python code based on the types collected at runtime.