ID Property Access (idprop.types)#

class idprop.types.IDPropertyArray#
to_list()#

Return the array as a list.

typecode#

The type of the data in the array {‘f’: float, ‘d’: double, ‘i’: int, ‘b’: bool}.

class idprop.types.IDPropertyGroup#
clear()#

Clear all members from this group.

get(key, default=None)#

Return the value for key, if it exists, else default.

items()#

Iterate through the items in the dict; behaves like dictionary method items.

keys()#

Return the keys associated with this group as a list of strings.

pop(key, default)#

Remove an item from the group, returning a Python representation.

Raises:

KeyError – When the item doesn’t exist.

Parameters:
  • key (string) – Name of item to remove.

  • default (Undefined) – Value to return when key isn’t found, otherwise raise an exception.

to_dict()#

Return a purely Python version of the group.

update(other)#

Update key, values.

Parameters:

other (IDPropertyGroup or dict) – Updates the values in the group with this.

values()#

Return the values associated with this group.

name#

The name of this Group.

class idprop.types.IDPropertyGroupIterItems#
class idprop.types.IDPropertyGroupIterKeys#
class idprop.types.IDPropertyGroupIterValues#
class idprop.types.IDPropertyGroupViewItems#
class idprop.types.IDPropertyGroupViewKeys#
class idprop.types.IDPropertyGroupViewValues#