import snap

Graph = snap.GenRndGnm(snap.PNGraph, 100, 1000)
PRankH = snap.TIntFlt64H()
snap.GetPageRank(Graph, PRankH)
for item in PRankH:
    print item, PRankH[item]

Graph = snap.GenRndGnm(snap.PUNGraph, 5000000, 50000000)
PRankH = snap.TIntFlt64H()
snap.GetPageRank(Graph, PRankH)
for item in PRankH:
    print item, PRankH[item]

Graph = snap.GenRndGnm(snap.PNEANet, 100, 1000)
PRankH = snap.TIntFlt64H()
snap.GetPageRank(Graph, PRankH)
for item in PRankH:
    print item, PRankH[item]

