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.

Source Distribution

networkl-0.2.13.tar.gz (4.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

networkl-0.2.13.macosx-10.3-fat.tar.gz (7.6 kB view details)

Uploaded Source

networkl-0.2.13.macosx-10.3-fat.exe (67.5 kB view details)

Uploaded Source

File details

Details for the file networkl-0.2.13.tar.gz.

File metadata

  • Download URL: networkl-0.2.13.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for networkl-0.2.13.tar.gz
Algorithm Hash digest
SHA256 6ae49e1ca09de5bdebb841f44fccb8aa27899a6324c56a0062fd503228cd8233
MD5 5449f32ff3702522a1a2faed9a5cc66b
BLAKE2b-256 cecc8f85049976f6b7c8b2fdd09aeff342806f797f71f3f23d22f5ce37e8f284

See more details on using hashes here.

File details

Details for the file networkl-0.2.13.macosx-10.3-fat.tar.gz.

File metadata

File hashes

Hashes for networkl-0.2.13.macosx-10.3-fat.tar.gz
Algorithm Hash digest
SHA256 4bc9b21bc05ae715329bfb5db3a6e47cc40e861c89235baa1ae75085af7858ac
MD5 d11bd2c58113d392b8c502161be5feab
BLAKE2b-256 491b45d883ae63f154c46bb7a5a0c87f6c8a695b63c11fa884a37ee55210046a

See more details on using hashes here.

File details

Details for the file networkl-0.2.13.macosx-10.3-fat.exe.

File metadata

File hashes

Hashes for networkl-0.2.13.macosx-10.3-fat.exe
Algorithm Hash digest
SHA256 9fd5733403f690caf5c870e39f944985169ed6c50ea38029b4c0e6a6f8c28c7d
MD5 8c22c948f2ad47e74b44c4271158d5f5
BLAKE2b-256 4f932ee20fb1d3b6e42d58b74666a60c39ec4e0e8dbc9eacdfb7b9f50d96e8f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page