pysimm.utils module

class pysimm.utils.Container[source]

Bases: object

Abitrary container object that returns None if trying to access an attribute that does not exist

class pysimm.utils.Item(**kwargs)[source]

Bases: object

copy()[source]
set(**kwargs)[source]
class pysimm.utils.ItemContainer(_dict=None, **kwargs)[source]

Bases: _abcoll.Sequence

Container object intended to organize Item objects. Arbitrary attributes can be set using keyword arguments. Underlying data structure is a dictionary where the key is referred to as a tag, and the value should be an Item object. Item.tag should equal the key for the object in the dictionary.

add(_item)[source]
get(*args, **kwargs)[source]
remove(index, update=True)[source]
exception pysimm.utils.PysimmError[source]

Bases: exceptions.Exception

pysimm.utils.compare(query, item, query_wildcard=None, item_wildcard='X', order=False, improper_type=False)[source]