软件包:python3-multi-key-dict(2.0.3-2)
python3-multi-key-dict 的相关链接
Debian 的资源:
下载源码包 python-multi-key-dict:
- [python-multi-key-dict_2.0.3-2.dsc]
- [python-multi-key-dict_2.0.3.orig.tar.xz]
- [python-multi-key-dict_2.0.3-2.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
Multi key dictionary implementation - Python 3.x
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 3.x module.