Skip to main content

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/.

Release files for stream-graph 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stream-graph 0.2.0
File Size Uploaded
stream_graph-0.2.0.zip 825.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for stream-graph 0.2.0
File
stream_graph-0.2.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
stream_graph-0.2.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
stream_graph-0.2.0-cp37-cp37m-manylinux1_i686.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32 Details
stream_graph-0.2.0-cp37-cp37m-macosx_10_6_intel.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
stream_graph-0.2.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
stream_graph-0.2.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
stream_graph-0.2.0-cp36-cp36m-manylinux1_i686.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32 Details
stream_graph-0.2.0-cp36-cp36m-macosx_10_6_intel.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
stream_graph-0.2.0-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
stream_graph-0.2.0-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details
stream_graph-0.2.0-cp35-cp35m-manylinux1_i686.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32 Details
stream_graph-0.2.0-cp35-cp35m-macosx_10_6_intel.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386) Details

Total release size: 4.8 MB

Release files / stream_graph-0.2.0.zip

Download URL stream_graph-0.2.0.zip
Size 825.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fad053ecbd1fc4636594f65deee293dbce682dc5220ef74ca6092e9fb7d68d82
BLAKE2b-256 checksum
How to use checksums
f481b38602fba9036961300204c953f02dc9511d767cde8fc90452071b1d19de
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp37-cp37m-win_amd64.whl

Download URL stream_graph-0.2.0-cp37-cp37m-win_amd64.whl
Size 165.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
56553e4a3f44a8b67d45ae536e418a454d80e61b598c8f94b6a8adac93b6ca14
BLAKE2b-256 checksum
How to use checksums
e1757325342816441e7827cbecd576b498677c2979aeabe3d4b7888cd79e16fa
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp37-cp37m-manylinux1_x86_64.whl

Download URL stream_graph-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
Size 469.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f6445c1d461bc01e619294e1b86d4ec0b73f08b7633ef8891205dfabcf819ac7
BLAKE2b-256 checksum
How to use checksums
8d10d71e75a8e47b936fa1b5c3940a5cf73de94ec2cd561b2bdecc09e6479edc
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp37-cp37m-manylinux1_i686.whl

Download URL stream_graph-0.2.0-cp37-cp37m-manylinux1_i686.whl
Size 438.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
d2a88b9d9ed1c45bc54080e5d7bde51b68fd4ab42ddc5d739100b73b3f103b9c
BLAKE2b-256 checksum
How to use checksums
83d63a081e42b25fda4d82dc84272ea884c47ef103611b493982f4565b5356aa
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp37-cp37m-macosx_10_6_intel.whl

Download URL stream_graph-0.2.0-cp37-cp37m-macosx_10_6_intel.whl
Size 233.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
aa6c9935c4d588b6802925ada5baaecff68143832e6ff35b8dcd0f0793021a21
BLAKE2b-256 checksum
How to use checksums
c3fdd37e66ac087a030f4d0ca552dc82c369863998e27b1f0fd45158988c6bf4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp36-cp36m-win_amd64.whl

Download URL stream_graph-0.2.0-cp36-cp36m-win_amd64.whl
Size 165.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
0bb89260365fa781431329335d992489bb7fa873b8366093d758008a9c0a9774
BLAKE2b-256 checksum
How to use checksums
0b5b5f98e7687fe70e0292449526e2fbe4fe52922207903e8449af0d4db84856
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp36-cp36m-manylinux1_x86_64.whl

Download URL stream_graph-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
Size 473.0 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
42b751c028face2f5e513d6e816aa4a3c4ee4f945f56366b7d04ec79101e79a5
BLAKE2b-256 checksum
How to use checksums
435419f10f583fe8ee37757ac5b653c31f0e3cbafc974ef38433932fb3243500
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp36-cp36m-manylinux1_i686.whl

Download URL stream_graph-0.2.0-cp36-cp36m-manylinux1_i686.whl
Size 443.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
bc34e494921e5f987d4d6b99af27e7432c02594d21c3eb4468da4fd8b8137065
BLAKE2b-256 checksum
How to use checksums
0130e8df1617e348ea6fdb62ca4638bb71aa680c12b8f539b8f6047976cc2622
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp36-cp36m-macosx_10_6_intel.whl

Download URL stream_graph-0.2.0-cp36-cp36m-macosx_10_6_intel.whl
Size 234.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
f35dbad3cc90566fc778e342759968cd7714f1e4985718a11b5d0c07b2ac0ccb
BLAKE2b-256 checksum
How to use checksums
fc71d25625b53026870737169854b02f7c1974b8c1eaa60c12a88e85e750d78e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp35-cp35m-win_amd64.whl

Download URL stream_graph-0.2.0-cp35-cp35m-win_amd64.whl
Size 164.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
9f5707ad6cf2390afb599e07616769e0ded6ab11ee33495b60d9f032a612b80e
BLAKE2b-256 checksum
How to use checksums
585884ce7fd1a08683fddeb3f6cfb0878c581e22a17c346de1b24b68e93e1e07
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp35-cp35m-manylinux1_x86_64.whl

Download URL stream_graph-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
Size 469.8 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
8a22b8d06cd680ce674181e2c7b0dd46e32cc96f4ce12bfae5681ca5e310b25b
BLAKE2b-256 checksum
How to use checksums
f930987899a1056b673f606233e6dc4ff3d793cce9a6e6443fb6321af888aab3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp35-cp35m-manylinux1_i686.whl

Download URL stream_graph-0.2.0-cp35-cp35m-manylinux1_i686.whl
Size 438.6 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
8257816398bfd7dac265adcda9f42fe09b935a618302408b7e85127f93947e45
BLAKE2b-256 checksum
How to use checksums
6872fe4c23cf4c41ac1a5adf1550eb010c2e61004f890f9edcf6a03d5ffd8ad2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stream_graph-0.2.0-cp35-cp35m-macosx_10_6_intel.whl

Download URL stream_graph-0.2.0-cp35-cp35m-macosx_10_6_intel.whl
Size 231.6 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
eb05abcffeb352e847c9b8a7d6d26cd7621a872a446feed5ab7a31c1e8fa397a
BLAKE2b-256 checksum
How to use checksums
ca83ba7475b1eed66e9429ddea114086be906534452b3ef01d75bb0e55ffb4c2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.0 This release

13 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page