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 stale · no recent hits
total hits 28
actors 6 distinct systems
last hit 20d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇮🇩 Indonesia
Resources
homepagemonkeytype.readthedocs.io/ ↗
API endpoints
full doc /v1/registry/monkeytype
install /v1/registry/monkeytype/install
compatibility /v1/registry/monkeytype/compatibility