ast.literal_eval example
Example 1: google.protobuf.Struct example python
from google.protobuf.internal.well_known_types import Struct
s = Struct()
s.update({"key": "value"})
Example 2: gdal_polygonize example
gdal_polygonize.py myraster.tif -f "ESRI Shapefile" mylayer.shp