Zef is great for representing, storing and retrieving data. It also provides an easy way to interface with other packages, such as NetworkX or scikit learn for analysis.
NetworkX is a convenient python package that exposes algorithms grouped into over 60 topics, including cluster detection, flow analysis, shortest-path calculation, etc.