Python Module for flattened device trees