### Install bidict Source: https://bidict.readthedocs.io Use pip to install the bidict package. ```bash pip install bidict ``` -------------------------------- ### Initialize and use bidict Source: https://bidict.readthedocs.io Create a bidict instance and perform lookups using the mapping and its inverse. ```python >>> from bidict import bidict >>> element_by_symbol = bidict({'H': 'hydrogen'}) >>> element_by_symbol['H'] 'hydrogen' >>> element_by_symbol.inverse['hydrogen'] 'H' ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.