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 hashes)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.6+ intel

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.6+ intel

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.6+ intel

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