DefTree

DefTree is a python module modify Defold documents, it’s first implementation was inspired by the xml.ElementTree library.

It reads any Defold document into a object tree hierarchy, the module have three main concepts

  1. DefTree represents the whole Defold document as a tree and
  2. Element represents a single node or block in this tree and
  3. Attribute represent a name value pair

Installation

Note

DefTree is only supported by python >= 3.3.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 and is easily installed with pip.

pip install deftree

Old Versions

You can download old distributions from PyPI.