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.2a35.tar.gz (94.0 kB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

Python_EasyGraph-0.2a35-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.2a35-cp38-cp38-win_amd64.whl (155.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

Python_EasyGraph-0.2a35-cp38-cp38-manylinux1_x86_64.whl (728.0 kB view details)

Uploaded CPython 3.8

Python_EasyGraph-0.2a35-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.2a35-cp37-cp37m-win_amd64.whl (155.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

Python_EasyGraph-0.2a35-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.2a35-cp36-cp36m-win_amd64.whl (155.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m

Python_EasyGraph-0.2a35-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.2a35.tar.gz.

File metadata

  • Download URL: Python-EasyGraph-0.2a35.tar.gz
  • Upload date:
  • Size: 94.0 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.2a35.tar.gz
Algorithm Hash digest
SHA256 5abe636cf0b90ac27bfad8eed7163c4218c8416c9aae01a4890db80fe1ee099a
MD5 07f3063a8dbced9ac7a7a2f918f840b7
BLAKE2b-256 461596d14721ac057cc31172858b70bab52283aa17e9dcf7c1f95cdb8302858f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.2a35-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e09f7b5f51618cbe62aa61d80172c09042328f782213979a41ae52f527a20396
MD5 b67aa4ca0be77d9e2cdebeaed18b0527
BLAKE2b-256 d9733279ec2066ed76e2dc7698485da1bb877dca50133e22ea23c9b22f4abb61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.2a35-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9e746b01710ad7c6698fadc08cd6a19bde7a3471f5b9f63f892ab7661b77c9cb
MD5 2d691c93006968ad7d823385ba1095c3
BLAKE2b-256 334d7e29baef3420d06286451fc399b2e492258a999f8a7d2c2e6a2b0a7c8cd2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.12

File hashes

Hashes for Python_EasyGraph-0.2a35-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 759c5d10e7450bd56c638da4d6748a7ea3ac6799a9bfbf224cdda840fac04ed9
MD5 e9d76e9d1dd89a5f97f56e29dce45a8e
BLAKE2b-256 552b26fd660bf76d8a61b84f90e509325048e33ab38545183938af819f9c7f2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.2a35-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9fef0aa0327aec77148f2c3c10a3edf715b93d4d3e98362df54ecf6ba5a11ebf
MD5 ffdcef08053c6d625f728d49cf1bc892
BLAKE2b-256 385b2b5eb916b45a4a9c4532bc011e4c92dbf463ba7c1f602cf6d2d30aaf6705

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 728.0 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.2a35-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fbbc447e10cd1db1ef1958165536039dceb129b97441194ed120802018d9f0f8
MD5 45177a70fa6dc7589fb78f9013c58cf7
BLAKE2b-256 e4247433f8bdab67faada15ca17fbdef5dd6e9f13b1f871ab34b22aa5d6dbeb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.12

File hashes

Hashes for Python_EasyGraph-0.2a35-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4469e0957926de0df120a46e89addef0861d69789a57141b846ef8b5868ed026
MD5 687a447851f91a2783108302be4f6465
BLAKE2b-256 09457e724e4a2dcdba2abe3f1add2798322b725165847b6a8ce7d2bdf4afdba3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.2a35-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9d5ff0481dd0cdef02dccb1457a9ecbcd5abaa242152a7966f6c8241d4eb48ae
MD5 206b62c7ca4f6bc8b582f9b74024994c
BLAKE2b-256 0e206ddad40ecc9953feac0e80b37725261056ae0d731fcd918e0be12f6f2478

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.2a35-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8cd0892d9317828ae2e903012a927dbb91fed6530594f2d13738c688e21a8fd0
MD5 2e6256fb5eb57cc84de38ba2a50120e9
BLAKE2b-256 ab871d17ead78c85984265811129fe4667425df0aa7bb4b102a3537f576ca9d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.12

File hashes

Hashes for Python_EasyGraph-0.2a35-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6b57482b61b203abeb4bb0994038503d02ab7407e8d70e25ec0df18e0be74f4c
MD5 6a422a1bc7a89d79a792810f3643224d
BLAKE2b-256 eb4fc04fda228c13083c7a6c7ac23df7a3521ea048c63f693849f8912b20163e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.2a35-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 7df14c377fa8155bd1993994506a45e47d23ce1d11a9187ad936702e13796837
MD5 03905ae316b0595b8d1a4bf577d51b6e
BLAKE2b-256 527f2d49e6b970cfb9f36739b5d9efcfb168905b4234b12d63c609bcf1ae2dd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.2a35-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 56fb74379554531d265dd3f1e4d2713fdc5b6466f91265796f9495541df2f411
MD5 e0bf9e45a264ab941d31626781d14c95
BLAKE2b-256 bf718a887ee44fa5f0f86fe5b73668b369293ab453554b7a4f5a4e72870ca386

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a35-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.12

File hashes

Hashes for Python_EasyGraph-0.2a35-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d4f54388a37997c8f58515cab93f9a01d156eb1c9f9219d95b9278c50e66f1e6
MD5 45c364ef4cc08cb185ca53fdd7f5673b
BLAKE2b-256 e412c10932c3940155e4b32eaf11e893411790165ec0ae7896bd607c785d72a0

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