GitHub - breuleux/ovld: Advanced multiple dispatch for Python functions
Ovld
Fast multiple dispatch in Python, with many extra features.
📋 Documentation
With ovld, you can write a version of the same function for every type signature using annotations instead of writing an awkward sequence of isinstance statements. Unlike Python's singledispatch, it works for multiple arguments.
⚡️ Fast: ovld is the fastest multiple dispatch library around, by some margin.
🚀 Variants, mixins and medleys of functions and methods.
🦄 Dependent types: Overloaded functions can depend ...
Read more at github.com