ladybug_geometry.dictutil module¶
Utilities to convert any Ladybug Geometry dictionary to Python objects.
Note that importing this module will import almost all modules within the Ladybug_geometry library in order to be able to re-serialize almost any dictionary produced from the library.
- ladybug_geometry.dictutil.geometry_dict_to_object(ladybug_geom_dict, raise_exception=True)[source]¶
- Parameters:
ladybug_geom_dict (dict) – A dictionary of any Ladybug Geometry object.
raise_exception (bool) – Boolean to note whether an exception should be raised if the object is not identified as a part of ladybug_geometry. Default: True.
- Returns:
A Python object derived from the input ladybug_geom_dict.