The bidirectional mapping library for Python.
bidict
Professionally-supported bidict is available with the Tidelift Subscription.