pylhe.LHEInitRWGTWeight

class pylhe.LHEInitRWGTWeight(id: str, name: str, extra_attributes: dict[str, str]=<factory>)[source]

Bases: object

Information about a single weight inside or outside of a weight group.

__init__(id: str, name: str, extra_attributes: dict[str, str]=<factory>) None

Methods

__init__(id, name, extra_attributes, str] =)

Attributes

attributes

Return all the attributes of the weight, including the ID.

id

ID of the weight

name

Weight description text

extra_attributes

Weight XML attributes not represented by dedicated fields

property attributes: dict[str, str]

Return all the attributes of the weight, including the ID.

extra_attributes: dict[str, str]

Weight XML attributes not represented by dedicated fields

id: str

ID of the weight

name: str

Weight description text