xnn.common.data.hub.materials_project.iter_json_list#

xnn.common.data.hub.materials_project.iter_json_list(stream, chunk=16777216)[source]#

The items of a JSON list read from a text stream one at a time, so a file larger than memory can be read.

Parameters:

chunk (int)

Return type:

Iterator