Runtype: Runtime Type Validation and Multiple Dispatch
JSON →Runtype is a Python library providing utilities for fast run-time type validation and multiple dispatch. It enhances Python's built-in `dataclasses` with runtime type validation and automatic casting, offers smart alternatives to `isinstance` and `issubclass` for complex types, and implements a performant multiple-dispatch decorator. The library is currently at version 0.5.3, with a regular release cadence addressing bug fixes and performance improvements.
Traffic · last 30 days ↑0% vs prev 7d
total hits 96
actors 12 distinct systems
last hit 19h ago ChatGPT-User
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇫🇷 France · 🇨🇦 Canada
API endpoints
full doc /v1/registry/runtype
install /v1/registry/runtype/install
compatibility /v1/registry/runtype/compatibility