This release is a pre-release and may not be stable for production use.
EasyGraph(v0.2a24)
Copyright (C) <2020-2021> by Mobile Systems and Networking Group, Fudan University
Documentation: https://easy-graph.github.io/
Bug Reports: https://github.com/easy-graph/Easy-Graph/issues
PyPI Homepage: https://pypi.org/project/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}
}
Metadata
Release files for Python-EasyGraph1 0.2a29
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Python-EasyGraph1-0.2a29.tar.gz | 85.8 kB | Without provenance | Details for Python-EasyGraph1-0.2a29.tar.gz |
Release files / Python-EasyGraph1-0.2a29.tar.gz
| Download URL | Python-EasyGraph1-0.2a29.tar.gz |
|---|---|
| Size | 85.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2985197d2863bfec41eb43043995cb0b1d7c96988f629ba68dec1d5d4f3f83d2
|
|
BLAKE2b-256 checksum How to use checksums |
54ab28bd8d0251ec0a67924bc11ea5e1d7a1fc0071ea487e71e2e0aabef2c8ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for Python-EasyGraph1 0.2a29
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.