Runtype: Runtime Type Validation and Multiple Dispatch

JSON →
library 0.5.3 ·python
verified May 25, 2026

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.

total hits 96
actors 12 distinct systems
last hit 19h ago ChatGPT-User
ChatGPT-User
30
ByteDance
9
GPTBot
6
MetaBot
5
Amazonbot
4
PerplexityBot
4
Script
2
ClaudeBot
1
Search engines
1
Humans
19

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇫🇷 France · 🇨🇦 Canada