pysimm.utils
¶
Module Contents¶
Classes¶
pysimm.utils.Container |
|
pysimm.utils.ItemContainer |
|
Functions¶
|
- exception pysimm.utils.PysimmError[source]¶
Bases:
Exception
Common base class for all non-exit exceptions.
- class pysimm.utils.Container[source]¶
Bases:
object
pysimm.utils.Container
Abitrary container object that returns None if trying to access an attribute that does not exist
- class pysimm.utils.ItemContainer(_dict=None, **kwargs)[source]¶
Bases:
collections.abc.Sequence
pysimm.utils.ItemContainer
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 anItem
object.Item
.tag should equal the key for the object in the dictionary.