A tree library for Python