Skip to main content

Easy Graph

Reason this release was yanked:

needless

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

File metadata

  • Download URL: Python-EasyGraph-0.2a33.tar.gz
  • Upload date:
  • Size: 93.2 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.2a33.tar.gz
Algorithm Hash digest
SHA256 20a0d8d37c887630e298db3f458387f043a99e6cc1fac537432bd9cc4c791d10
MD5 fb99a13c10f9cac74e67ec962f4cf2c4
BLAKE2b-256 4f030c41a9ba477c7d70df6e58b935bbca3d8353c917a03b8a10e13f592eaf8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a33-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.2a33-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6043da210b80e6e7266c144c37c912707daa975f0db34b6d2fff04dd0ca97333
MD5 c3275bf83a3aa4b57aee812d940f609e
BLAKE2b-256 68f8beecad16c360fbc2e9493bae36cd55989947e6b036575b90dd0a657043d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a33-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.2a33-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 92966578f394a0cae5d4587318cdab84a728bc039b0a672180b3ffdb73751565
MD5 b4050d137a0ad2ad1fd59316797900af
BLAKE2b-256 c1b808ce750b9404d8d74b202dc4b1d90b04a9a489e19dec55efafe91574ceb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a33-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.2a33-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f8c7bc6d7a440f2eb859b5c801bcdad2cba93cdeff623e233791eb9fdc18d11e
MD5 10adcea6f0f996d5a9b966878612979d
BLAKE2b-256 4b2be5560f1cca61e0b7b8b7f548bb3b35d914ddee762765a21a976dcdba8283

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a33-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.2a33-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c31c04847dd2aa9e9b6fa0163e22c5d54e9b58e0a6ac16c7fee42288865c6113
MD5 ff17f14a5f38d025191629a8610b3620
BLAKE2b-256 2c090ef2de81723338e98170c75df737f331c1a8e2b0842371de41123acc3d77

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