DefTree¶
DefTree is a python module modify Defold documents, it is inspired by the xml.ElementTree library.
It reads any defold document into a object tree hierarchy, the module have three main concepts
- DefTree represents the whole Defold document as a tree and
- Element represents a single node or block in this tree and
- Attribute represent a name value pair
Installation¶
Note
DefTree is only supported by python >= 3.0.0
DefTree is a native python implementation and thus should work under the most common platforms that supports python. The package is distributed in the wheel format
pip install deftree