$ python >>> from nocasedict import NocaseDict >>> dict1 = NocaseDict({'Alpha': 1, 'Beta': 2}) >>> dict1['ALPHA'] # Lookup by key is case-insensitive 1 >>> print ...
An OrderedSet is a mutable data structure that is a hybrid of a list and a set. It remembers the order of its entries, and every entry has an index number that can be looked up. ordered_set is ...