Skip to main content

NetworkL is a Python package which extends the scope of the NetworkX package to eXtra-Large time-varying graphs. It supports the manipulation and efficient longitudinal analysis of complex networks

Project description

NetworkL is a Python package which extends the scope of the NetworkX package to eXtra-Large time-varying graphs. It supports the manipulation and efficient longitudinal analysis of complex networks

Documentation
http://networkl.github.io
Development
https://github.com/networkl/networkl

A quick example that update the all-pairs shortest path lengths in an undirected graph by using the SparseGeodesicMatrix data structure:

>>> import networkx as nx
>>> import networkl as nl
>>> from random import randrange
>>>
>>> N=1000
>>> G = nx.erdos_renyi_graph(N,0.1)                                 #create a graph
>>> SparseD = nl.sparse_distance_matrix(G)                          #compute the Sparse Distance Matrix
>>>
>>> new_edges = [(randrange(N),randrange(N)) for c in range(100)]   #add edges and update Distance Matrix
>>> for i,j in new_edges:
>>>     if G.has_edge(i,j) or i==j:
>>>          continue
>>>     nl.update_distance_matrix(G,SparseD,i,j,mode='add')
>>>
>>> print SparseD[1][1]                                             #accessing distance values

Distributed under the GNU v2 license; see LICENSE.txt:

Copyright (C) 2015 NetworkL Developers
Moreno Bonaventura <m.bonaventura@qmul.ac.uk>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
networkl-0.2.13.macosx-10.3-fat.exe (67.5 kB) Copy SHA256 hash SHA256 Windows Installer any
networkl-0.2.13.macosx-10.3-fat.tar.gz (7.6 kB) Copy SHA256 hash SHA256 Dumb Binary any
networkl-0.2.13.tar.gz (4.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page