{"library":"monkeytype","type":"library","category":null,"description":"MonkeyType is a Python library that automatically generates type annotations from sampled production types. It uses Python's `sys.setprofile` hook to record the types of function arguments, return values, and yield values at runtime. Based on this collected data, it can generate stub files (`.pyi`) or apply draft type annotations directly to existing Python code. The current stable version is 23.3.0, with a history of regular updates focusing on Python version compatibility and annotation accuracy.","language":"python","status":"active","version":"23.3.0","tags":["typing","type annotations","static analysis","code generation","runtime analysis","developer tools"],"install":[{"cmd":"pip install monkeytype","imports":["from monkeytype import trace","from monkeytype.config import Config"]}],"homepage":"https://monkeytype.readthedocs.io/","github":"https://github.com/Instagram/MonkeyType","docs":null,"changelog":null,"pypi":"https://pypi.org/project/monkeytype/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.6,"avg_import_s":0.1,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/monkeytype/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}