Skip to main content

Easy Graph

Reason this release was yanked:

lack header files

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

File metadata

  • Download URL: Python-EasyGraph-0.2a30.tar.gz
  • Upload date:
  • Size: 87.6 kB
  • Tags: Source
  • 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.2a30.tar.gz
Algorithm Hash digest
SHA256 2b840e7dc93016930ea6e0aa99d5eef0945798d6d645bc40a1d48d6ef5f1e317
MD5 3f68af0cafaf58fd83b55349020a4584
BLAKE2b-256 7c96c155305b2558f30d6cc27be8fc48f4d3b3d8f61fc8b8dbb6fd951080b3ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a30-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.2a30-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 93012fc133353c949221a7fe6d696da063d60e4923eb3282d2d4fd18f15533c9
MD5 1bcd6692269fcd52386b678393b5f8ee
BLAKE2b-256 b53ceff8813d582c26968f9b74737b17838a45fb365c26fe96d5ee3ea3a6d76b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a30-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.2a30-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8bf55537686207475fc604edca70fc8ca625b88a66e3aa6d550b0f98fbc2f6a2
MD5 de38756ab48ec952846290bdcd303e86
BLAKE2b-256 162268b51b1586f5e1d7be9406f4a3b7ec6584049ebb5ae039a003bf82e826d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a30-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.2a30-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4ee02b9d56edf54fbaeabe5896c4a2bc8df1138791247215b385e527bf57df51
MD5 98c5b0c069c5d5a0e191149e445f3187
BLAKE2b-256 d89a0daf6371b70eac46fd9ee9cc547c03722f8232858ff3f24e5e4674b2d390

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Python_EasyGraph-0.2a30-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.2a30-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 43c0631d34979fd8660a47950e64dc195d0d58366ec9a198f1e8acf81522832f
MD5 6339133a3145944dd3293e9a92d82047
BLAKE2b-256 19a2c1f4f1fdedecc0a956e6d1406af8b24fa6f552fff396330a1087841149d1

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