SortedCollections is an Apache2 licensed Python sorted collections library.
Features --------
- Pure-Python - Depends on the SortedContainers module. - ValueSortedDict - Dictionary with (key, value) item pairs sorted by value. - ItemSortedDict - Dictionary with key-function support for item pairs. - OrderedDict - Ordered dictionary with numeric indexing support. - OrderedSet - Ordered set with numeric indexing support. - IndexableDict - Dictionary with numeric indexing support. - IndexableSet - Set with numeric indexing support.
This contains the Python 3 module