yamlmetadata
— YAML Metadata¶
The yamlmetadata
file contains a generic metadata parser for YAML formatted inputs
New in version 0.2.0.
- class amg.yamlmetadata.YAMLMetadata(datafile)[source]¶
This class supports arbitrary yaml encoded metadata.
Instead of providing explicit properties to every attribute that this class could have, a generic __get__ magic method is provided that tries to pull the named attribute from this data container.
- Parameters
datafile (str) – Path to the datafile to be parsed