def property_to_py_name(cpp_struct_name):
    """Returns the name the property should have in the Python api,
    based on the C++ struct name."""
    first_underscore = cpp_struct_name.find('_')
    assert first_underscore != -1
    return cpp_struct_name[first_underscore + 1:]