wwt_data_formats Package

Functions

indent_xml(elem[, level])

A dumb XML indenter.

stringify_xml_doc(root_element[, indent])

Stringify some XML elements, indenting them by default.

write_xml_doc(root_element[, indent, ...])

Write out some XML elements, indenting them by default

Classes

LockedDownTraits(**kwargs)

A base class for HasTraits objects where we do not allow callers to add additional attributes to class instances.

LockedXmlTraits(**kwargs)

A base class for LockedDownTraits objects that can also be serialized to and from XML.

MetaLockedDownTraits(name, bases, namespace, ...)

A metaclass to help with the LockedDownTraits class.

XmlSer(value)

Ways that a traitlet can get serialized to XML in this framework.