Debian logoDebian Screenshots >

python-multi-key-dict

multi key dictionary implementation - Python 2.7

Description

Implementation of a multi-key dictionary, i.e.:
 (key1[,key2, ..]) => value

This dictionary has a similar interface to the standard dictionary, but is extended to support multiple keys referring to the same element.

Multi-key dict provides also extended interface for iterating over items and keys (e.g. by the key type), which might be useful when creating, e.g. dictionaries with index-name key pair allowing to iterate over items using either: names or indexes. It can be useful for many other similar use-cases, and there is no limit to the number of keys used to map to the value.

There are few other useful methods, e.g. to iterate over dictionary (by/using) selected key type, finding other keys mapping to the same value etc.

This package contains the Python 2.7 module.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

https://github.com/formiaczek/multi_key_dict


Statistics

816 other people were interested in this package here. The newest known version of this software is 2.0.3-1 (Information last updated about 22 hours ago.)