Preparing for system design interviews?  Try bugzed.com →

Method Dispatch

JSON →
library 5.0.1 ·python
verified Jun 30, 2026

methoddispatch provides a decorator similar to `functools.singledispatch` but specifically designed for dispatching class methods based on the type of their arguments. It extends Python's built-in single dispatch functionality to work seamlessly within classes, supporting different implementations for various argument types. The current version is 5.0.1, with an irregular release cadence driven by feature enhancements and Python version compatibility.

total hits 12
actors 4 distinct systems
last hit 22d ago Amazonbot
GPTBot
4
Amazonbot
4
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany