Skip to main content

A library for Stream Graphs

Project description

This library is an attempt at modelling Stream Graphs. A Stream Graph is a graph which nodes and links appear and disappear through time. Various methods that facilitate the study of such graphs can be found in this library, both simple (as degree distribution over time) and sophisticated (as maximal temporal-cliques, temporal-centrality measures). This library is hence designed for the analysis of the temporal dimension of evolving networks, such as the communication dynamics in social media.

Stream Graphs were first formally defined by Matthieu Latapy et al. as the generalization of static graphs. They consist of four components: (1) a set of nodes (NodeSet) belonging to the graph, (2) a time interval (TimeSet) representing the graph's lifespan, (3) a set of temporal nodes (TemporalNodeSet) describing instants when nodes are present in the stream, and (4) a set of temporal links (TemporalLinkSet) describing the instants when nodes are interacting in the stream.

Warning: This library is currently under development. Elementary structures and methods may change, with no support for previous versions.

Installing the Library

Update: Version 0.2

  • Changes in interval-dataframe backbone:
    • Continuous (time) intervals.
    • Discrete (time) Intervals are treated differently
  • TODO: More Verification (add continuous bounds for maximal_cliques)

Installing stream_graph

The stream_graph library requires:

  • Python [>=2.7, >=3.5]
  • Numpy [>=1.14.0]
  • Pandas [>=0.24.0]
  • Cython [>=0.27.3]
  • six [>=1.11.0]
  • Nose [>=1.3.0]
  • Cython [>=0.27.3]

In order to allow visualizations, the user should install the latest bokeh library.

Installing Dependencies

To install dependencies:

pip install extension>=extension_version

Or more simply:

pip install -r requirements.txt

Please add sudo if pip does not have superuser privileges.

Installing the master Version

pip install git+https://github.com/ysig/stream_graph/

Getting Started

For a first introduction to the library, please have a look at emailEU or visit the tutorials page within the documentation.

Documentation

The library documentation is available online and automatically generated with Sphinx. To generate it yourself, move to doc folder and execute: make clean hmtl, after having installed all the needed dependencies.

Authors

This package has been developed by researchers of the Complex Networks team, within the Computer Science Laboratory of Paris 6, for the ODYCCEUS project, founded by the European Commission FETPROACT 2016-2017 program under grant 732942.

Contact

License

Copyright © 2019 Complex Networks - LIP6

stream_graph is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GN General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

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

stream_graph-0.2.0.zip (825.3 kB view details)

Uploaded Source

Built Distributions

stream_graph-0.2.0-cp37-cp37m-win_amd64.whl (165.2 kB view details)

Uploaded CPython 3.7m Windows x86-64

stream_graph-0.2.0-cp37-cp37m-manylinux1_x86_64.whl (469.1 kB view details)

Uploaded CPython 3.7m

stream_graph-0.2.0-cp37-cp37m-manylinux1_i686.whl (438.2 kB view details)

Uploaded CPython 3.7m

stream_graph-0.2.0-cp37-cp37m-macosx_10_6_intel.whl (233.9 kB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

stream_graph-0.2.0-cp36-cp36m-win_amd64.whl (165.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

stream_graph-0.2.0-cp36-cp36m-manylinux1_x86_64.whl (473.0 kB view details)

Uploaded CPython 3.6m

stream_graph-0.2.0-cp36-cp36m-manylinux1_i686.whl (443.1 kB view details)

Uploaded CPython 3.6m

stream_graph-0.2.0-cp36-cp36m-macosx_10_6_intel.whl (234.2 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

stream_graph-0.2.0-cp35-cp35m-win_amd64.whl (164.5 kB view details)

Uploaded CPython 3.5m Windows x86-64

stream_graph-0.2.0-cp35-cp35m-manylinux1_x86_64.whl (469.8 kB view details)

Uploaded CPython 3.5m

stream_graph-0.2.0-cp35-cp35m-manylinux1_i686.whl (438.6 kB view details)

Uploaded CPython 3.5m

stream_graph-0.2.0-cp35-cp35m-macosx_10_6_intel.whl (231.6 kB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

File details

Details for the file stream_graph-0.2.0.zip.

File metadata

  • Download URL: stream_graph-0.2.0.zip
  • Upload date:
  • Size: 825.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.3

File hashes

Hashes for stream_graph-0.2.0.zip
Algorithm Hash digest
SHA256 fad053ecbd1fc4636594f65deee293dbce682dc5220ef74ca6092e9fb7d68d82
MD5 6a0a66ebd3df20db905d4581fccb6dbd
BLAKE2b-256 f481b38602fba9036961300204c953f02dc9511d767cde8fc90452071b1d19de

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 165.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for stream_graph-0.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 56553e4a3f44a8b67d45ae536e418a454d80e61b598c8f94b6a8adac93b6ca14
MD5 85cdb4a8173f834485ddd427155a80b9
BLAKE2b-256 e1757325342816441e7827cbecd576b498677c2979aeabe3d4b7888cd79e16fa

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 469.1 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3

File hashes

Hashes for stream_graph-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f6445c1d461bc01e619294e1b86d4ec0b73f08b7633ef8891205dfabcf819ac7
MD5 1215178885cb841400c9ebf1faeab900
BLAKE2b-256 8d10d71e75a8e47b936fa1b5c3940a5cf73de94ec2cd561b2bdecc09e6479edc

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 438.2 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3

File hashes

Hashes for stream_graph-0.2.0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d2a88b9d9ed1c45bc54080e5d7bde51b68fd4ab42ddc5d739100b73b3f103b9c
MD5 994c6e3dc113065e9c80d4b938cefec9
BLAKE2b-256 83d63a081e42b25fda4d82dc84272ea884c47ef103611b493982f4565b5356aa

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 233.9 kB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for stream_graph-0.2.0-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 aa6c9935c4d588b6802925ada5baaecff68143832e6ff35b8dcd0f0793021a21
MD5 22c7e0502edb9ae834d8ae22a9e8bbac
BLAKE2b-256 c3fdd37e66ac087a030f4d0ca552dc82c369863998e27b1f0fd45158988c6bf4

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 165.5 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.4

File hashes

Hashes for stream_graph-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0bb89260365fa781431329335d992489bb7fa873b8366093d758008a9c0a9774
MD5 402f047ca7ee5025dfa1cfebdd6abad6
BLAKE2b-256 0b5b5f98e7687fe70e0292449526e2fbe4fe52922207903e8449af0d4db84856

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 473.0 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3

File hashes

Hashes for stream_graph-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 42b751c028face2f5e513d6e816aa4a3c4ee4f945f56366b7d04ec79101e79a5
MD5 7af52e0f51de7bb53ec9085c72451021
BLAKE2b-256 435419f10f583fe8ee37757ac5b653c31f0e3cbafc974ef38433932fb3243500

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 443.1 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3

File hashes

Hashes for stream_graph-0.2.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 bc34e494921e5f987d4d6b99af27e7432c02594d21c3eb4468da4fd8b8137065
MD5 c5d97e951abeb96a56dc7092790da89b
BLAKE2b-256 0130e8df1617e348ea6fdb62ca4638bb71aa680c12b8f539b8f6047976cc2622

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 234.2 kB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for stream_graph-0.2.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f35dbad3cc90566fc778e342759968cd7714f1e4985718a11b5d0c07b2ac0ccb
MD5 57c8874d5ff70ec51ffa5a563af81afa
BLAKE2b-256 fc71d25625b53026870737169854b02f7c1974b8c1eaa60c12a88e85e750d78e

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 164.5 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.3

File hashes

Hashes for stream_graph-0.2.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 9f5707ad6cf2390afb599e07616769e0ded6ab11ee33495b60d9f032a612b80e
MD5 9b9c5098ec5dcdd6f0fe84ddcf18c13a
BLAKE2b-256 585884ce7fd1a08683fddeb3f6cfb0878c581e22a17c346de1b24b68e93e1e07

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 469.8 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3

File hashes

Hashes for stream_graph-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8a22b8d06cd680ce674181e2c7b0dd46e32cc96f4ce12bfae5681ca5e310b25b
MD5 7de91fdbb220bda3ca55920d4216ca4f
BLAKE2b-256 f930987899a1056b673f606233e6dc4ff3d793cce9a6e6443fb6321af888aab3

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 438.6 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3

File hashes

Hashes for stream_graph-0.2.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8257816398bfd7dac265adcda9f42fe09b935a618302408b7e85127f93947e45
MD5 efda0deb7cc18a5c3535ccc3564e93c0
BLAKE2b-256 6872fe4c23cf4c41ac1a5adf1550eb010c2e61004f890f9edcf6a03d5ffd8ad2

See more details on using hashes here.

File details

Details for the file stream_graph-0.2.0-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

  • Download URL: stream_graph-0.2.0-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 231.6 kB
  • Tags: CPython 3.5m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.4

File hashes

Hashes for stream_graph-0.2.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 eb05abcffeb352e847c9b8a7d6d26cd7621a872a446feed5ab7a31c1e8fa397a
MD5 7f8247b6f109e118ed28caf6e67fd978
BLAKE2b-256 ca83ba7475b1eed66e9429ddea114086be906534452b3ef01d75bb0e55ffb4c2

See more details on using hashes here.

Supported by

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