Skip to main content

Easy Graph

Project description

Copyright (C) <2020-2021> by Mobile Systems and Networking Group, Fudan University

https://img.shields.io/pypi/v/Python-EasyGraph.svg https://img.shields.io/pypi/pyversions/Python-EasyGraph.svg https://img.shields.io/pypi/l/Python-EasyGraph

Introduction

EasyGraph is an open source graph processing library. It is written in Python and supports analysis for undirected graphs and directed graphs. It covers advanced graph processing methods in structural hole spanners detection, graph embedding and several classic methods (subgraph generation, connected component discovery and isomorphic graph generation).

EasyGraph integrates state-of-the-art graph processing approaches and implements them using Python. EasyGraph covers a series of advanced graph processing algorithms include structural hole spanners detection (HIS, MaxD, Common_Greedy, AP_Greedy and HAM), and graph representation learning (DeepWalk, Node2Vec, LINE and SDNE). Besides, for a number of general graph processing approaches, EasyGraph optimizes the algorithms and introduces parallel computing methods to achieve high efficiency.

Install

Installation with pip

$ pip install Python-EasyGraph

or conda

$ conda install Python-EasyGraph

Simple Example

This is a simple example for the detection of sturctural hole spanners using the HIS algorithm.

>>> import easygraph as eg
>>> G = eg.Graph()
>>> G.add_edges([(1,2), (2,3), (1,3), (3,4), (4,5), (3,5), (5,6)])
>>> _, _, H = eg.get_structural_holes_HIS(G, C=[frozenset([1,2,3]), frozenset([4,5,6])])
>>> H # The structural hole score of each node. Note that node `4` is regarded as the most possible structural hole spanner.
{1: {0: 0.703948974609375},
 2: {0: 0.703948974609375},
 3: {0: 1.2799804687499998},
 4: {0: 1.519976806640625},
 5: {0: 1.519976806640625},
 6: {0: 0.83595703125}
}

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Python-EasyGraph-0.2a34.tar.gz (93.3 kB view details)

Uploaded Source

Built Distributions

Python_EasyGraph-0.2a34-cp39-cp39-win_amd64.whl (155.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

Python_EasyGraph-0.2a34-cp38-cp38-win_amd64.whl (155.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

Python_EasyGraph-0.2a34-cp37-cp37m-win_amd64.whl (155.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

Python_EasyGraph-0.2a34-cp36-cp36m-win_amd64.whl (155.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file Python-EasyGraph-0.2a34.tar.gz.

File metadata

  • Download URL: Python-EasyGraph-0.2a34.tar.gz
  • Upload date:
  • Size: 93.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.60.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.5

File hashes

Hashes for Python-EasyGraph-0.2a34.tar.gz
Algorithm Hash digest
SHA256 60cc21dbc9a09e5dda5ec07431dac16ae2a068d30f2a78ecf215346969fd7d1a
MD5 ebacfa65de0c251360f6aec25dea6623
BLAKE2b-256 fa688538107ca78398ddae875fa134c33c6d4436a3f0327addc3135f28692df4

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a34-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a34-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 155.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.60.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a34-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ce187a82a70955a3eae2a0795018b33759877012374504e2a905f157c09dff17
MD5 be8f41698c193b8128e310ae3b95cf03
BLAKE2b-256 2ac9821ab8d12ddb6780690c8de86f88e505c5cc64a3fc71b2f05b8508f7bf77

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a34-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a34-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 155.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.60.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a34-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d9c448d5b5807f14cc6d2d38481e19817dc0543c831f3aa09cfba8a9dad34f44
MD5 1417c1ba63d15cce0ca24dd4baf57018
BLAKE2b-256 156f8c6337e9bb71f39043b48cb4c8e7524ac5ef0a583e81b0508a46bbea0fae

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a34-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a34-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 155.4 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.60.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a34-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 2a8475884555de7bcae00f080f00d05cd961591f4bd4d3b40890afb91a84818a
MD5 5c800fef8beaf52f881c3f62fa8f055c
BLAKE2b-256 20a86a6f0d7b0a109dc3a613067b9cc28dc33510302d6976f81fb7d80f19387b

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a34-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a34-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 155.4 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.60.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a34-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8230aa3cd957ef334f31823db607717bd9b42f525d84c1810826b7d8fc980fd9
MD5 63325cdfeabd6569ea08148c54152ffb
BLAKE2b-256 cb3df349d5d29994abad8de5febaec434dfc6a928217a7cc39a1cf0e9ba33cf1

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