Skip to main content

Easy Graph

Project description

Copyright (C) <2020> 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

Python_EasyGraph-0.2a29-cp39-cp39-manylinux1_x86_64.whl (727.3 kB view details)

Uploaded CPython 3.9

Python_EasyGraph-0.2a29-cp39-cp39-macosx_10_9_x86_64.whl (150.5 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

Python_EasyGraph-0.2a29-cp38-cp38-manylinux1_x86_64.whl (728.1 kB view details)

Uploaded CPython 3.8

Python_EasyGraph-0.2a29-cp38-cp38-macosx_10_9_x86_64.whl (150.5 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

Python_EasyGraph-0.2a29-cp37-cp37m-manylinux1_x86_64.whl (727.4 kB view details)

Uploaded CPython 3.7m

Python_EasyGraph-0.2a29-cp37-cp37m-macosx_10_9_x86_64.whl (150.5 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

Python_EasyGraph-0.2a29-cp36-cp36m-manylinux1_x86_64.whl (727.4 kB view details)

Uploaded CPython 3.6m

Python_EasyGraph-0.2a29-cp36-cp36m-macosx_10_9_x86_64.whl (150.5 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a29-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.2a29-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 fd79aa5a950cbe8be7ab320b079ccd878a737f6c3f2596d84cee6791a75997d3
MD5 33edef379d6b17cf72d0aaadba8ce11b
BLAKE2b-256 3d4d6a55db15124b454bf5ba9f1918922af799437affcb19355fd1c677ca0f3c

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a29-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a29-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 727.3 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.24.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.50.2 importlib-metadata/4.10.0 keyring/21.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a29-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 385953f6fc08c6340bac9dd2bb8377babb5a8463d4ee790eb47fa6a3b5193ac9
MD5 6c1c0afb83a025a42a6b51b61cf5973c
BLAKE2b-256 309a184d4250d4ea6d1ff8125e55d19232f968d3f57626aae1a9dcf71cdddcd0

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a29-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a29-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 150.5 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a29-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a52d6cad725ae2ee6a77badd743d7d69d36a1eaf8a27dca63a0271ca6d63dc82
MD5 010933a9a849f2b0ed00c6c5e8a3ea43
BLAKE2b-256 1097482a05be16383a4cf19c400bb031a8698c1ec51928217ea09d05e624423d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a29-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.2a29-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6281094b62d91ef33614dafb7359efabd56b7e29b169b45d973e58996a34fabc
MD5 33bdf4127793d4198bfe2c89f771e7db
BLAKE2b-256 435669310471b435e58f0fb734570c3dad754c828c0f97823d8967c01374b82c

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a29-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a29-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 728.1 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.24.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.50.2 importlib-metadata/4.10.0 keyring/21.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a29-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9da7fed27c245920e6860e3d95dd7fd5184cba795a2cf7b8e38a840f51d2c162
MD5 dafa8a59139da333850165e414979d31
BLAKE2b-256 2ddc724a8d2f6b92eeed54ac25d3bc0a68192bab14b5e0457aae9ce7e94401f4

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a29-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a29-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 150.5 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a29-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d0580a9f3c7b4d0a2f302074c38b4dd0113425d7ea411bae8434b1f72e9ca36e
MD5 ecc551e0eb9b1fb97ff1b824db829d63
BLAKE2b-256 fa8d437aab40795f115adbb3d011e0724ead1578e9664483717a0fe2740ca4f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a29-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.2a29-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 2125be9eb15950a9c005278855b3d0f4b5f40ef3722efcd35b469f7ccf9499dc
MD5 fac238a747a860c13ab7030b887523b3
BLAKE2b-256 a681c22b93c6e1303d149a7e99a3e144273e0cb76d6c02d7975572322ae5b977

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a29-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a29-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 727.4 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.24.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.50.2 importlib-metadata/4.10.0 keyring/21.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a29-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3a5d1a83a710b7360c7fe9d57f29d42821536105ccdaa67c71d097b1f83f7c3e
MD5 651d785ddf6979bc61433c3c3c320057
BLAKE2b-256 260a0d1b1349f385edef85adf1e81056473d499186921f6273267b45c7b87460

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a29-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a29-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 150.5 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a29-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 009a6e222df6efd6415c21a686349467149cc87de96787c3eb7fe545cdb2d633
MD5 c89057e1b4ef43fcb30b30ff94fe0521
BLAKE2b-256 4acb730db93cd7686d0dfa9361600e4c42cc016d6bb993c610f88459be8be1af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a29-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.2a29-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a456da6d22c9f98afff8acef1fabff1d343a356ab09e46e805081bfec81f59b6
MD5 d2aeeda632f52e7e070d42f95a071f24
BLAKE2b-256 371835e03c7b717c5aac671f38bed55a0a093b79bc9f6e0dc7b8915548f16255

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a29-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a29-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 727.4 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.24.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.50.2 importlib-metadata/4.10.0 keyring/21.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a29-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bc09d4ebee882585319fa1604d81d3e820a993edab842d3dac78f875e5de1a93
MD5 692b9971bce87afae329a4ce3289e29f
BLAKE2b-256 b9153c76d79622138a566b54458a355c8af218c85b4fae833c5a54d72f9d8d7f

See more details on using hashes here.

File details

Details for the file Python_EasyGraph-0.2a29-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Python_EasyGraph-0.2a29-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 150.5 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Python_EasyGraph-0.2a29-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 410ce7ef0d4b66f9220d540a083720b5625e3ccb649f162c2067a541b0bc82e2
MD5 43770251d9f64ae21faa7c2598f55d58
BLAKE2b-256 504618c85a671e8c1cb6e41fb9a89c30de172d9b628f4c726e2d1d53493afa56

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