Clojure-style multimethods with arbitrary dispatch keys.
Adapted from Adam Bard's work at https://unpythonic.com/02_02_multimethods/, with clarifications, corrections, and unit tests.
Clojure-style multimethods with arbitrary dispatch keys. See 'test_locutius.py' for usage examples.
pip install locutius
Requires Python 3, preferably 3.6 or later.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.