smarts.core.utils.key_wrapper module

class smarts.core.utils.key_wrapper.KeyWrapper(iterable, key)[source]

A sequence that transforms the selected in an underlying sequence using the given transformation key.

insert(index: int, item)[source]

Insert an item into the sequence.