bidict
The bidirectional mapping library for Python
...One of the best things about bidict is that it touches a surprising number of interesting Python corners, especially given its small size and scope. Choose a tier and GitHub handles everything else. Your GitHub sponsorship will automatically go on the same bill you already have set up with GitHub, so after the one-click signup, there’s nothing else to do.