Skip to main content

Compute diffusion scores over networks

Project description

https://github.com/multipaths/diffupy/blob/master/docs/source/meta/diffupy_logo.png

Introduction Build Status Documentation Status

DiffuPy is a generalizable Python implementation of the numerous label propagation algorithms. DiffuPy supports generic graph formats such as JSON, CSV, GraphML, or GML. Check out DiffuPy’s documentation here.

Installation Current version on PyPI Stable Supported Python Versions Apache-2.0

The latest stable code can be installed from PyPI with:

$ python3 -m pip install diffupy

The most recent code can be installed from the source on GitHub with:

$ python3 -m pip install git+https://github.com/multipaths/DiffuPy.git

For developers, the repository can be cloned from GitHub and installed in editable mode with:

$ git clone https://github.com/multipaths/DiffuPy.git
$ cd diffupy
$ python3 -m pip install -e .

Command Line Interface

The following commands can be used directly from your terminal:

1. Run a diffusion analysis The following command will run a diffusion method on a given network with the given data. More information here.

$ python3 -m diffupy diffuse --network=<path-to-network-file> --data=<path-to-data-file> --method=<method>

2. Generate a kernel with one of the seven methods implemented Generates the regularised Laplacian kernel of a given graph. More information in the documentation.

$ python3 -m diffupy kernel --network=<path-to-network-file>

Disclaimer

DiffuPy is a scientific software that has been developed in an academic capacity, and thus comes with no warranty or guarantee of maintenance, support, or back-up of data.

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

diffupy-0.0.5.tar.gz (457.9 kB view details)

Uploaded Source

File details

Details for the file diffupy-0.0.5.tar.gz.

File metadata

  • Download URL: diffupy-0.0.5.tar.gz
  • Upload date:
  • Size: 457.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for diffupy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 77d61bf52c27863457be2bb0f6074ab8daf28cf024cf6f15408c80952ceacd7e
MD5 f712693628c66f15618abb759368ca81
BLAKE2b-256 95a8931adf6b78e97fa5177678c2442f39058a09c9e8cd7189d5e3879f622adf

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