MonkeyType
JSON →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.
Traffic · last 30 days ↓43% vs prev 7d
total hits 18
actors 7 distinct systems
last hit 3d ago MetaBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany · 🇮🇹 Italy
Resources
homepagemonkeytype.readthedocs.io/ ↗
API endpoints
full doc /v1/registry/monkeytype
install /v1/registry/monkeytype/install
compatibility /v1/registry/monkeytype/compatibility