Out of core graph data structure for Python