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