DefTree 2.0.0

DefTree is a python module for modifying Defold documents. The first implementation was inspired by the xml.ElementTree library.

DefTree reads any Defold document into an object tree hierarchy and follow the these three main concepts

  1. DefTree represents the complete Defold document as a tree.
  2. Element represents a single node or block in this tree.
  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

Old distributions may be accessed via PyPI.