python2-twodict 1.2 Two way ordered dictionary for Python

TwoDict is a custom dictionary in which you can get the key:value relationship but you can also get the value:key relationship. It also remembers the order in which the items were inserted and supports almost all the features of the Python's built-in dict.