Python bindings for the Graphina library
Project description
PyGraphina
PyGraphina Python library allows users to use Graphina in Python.
[!IMPORTANT] PyGraphina is in early development, so bugs and breaking changes are expected. Please use the issues page to report bugs or request features.
Installation
pip install --pre pygraphina
Quick Start
import pygraphina as pg
# Make a small graph
g = pg.PyGraph()
a, b, c = [g.add_node(i) for i in range(3)]
g.add_edge(a, b, 1.0)
g.add_edge(b, c, 1.0)
# Get the PageRank centrality scores of the nodes
pr = pg.centrality.pagerank(g, 0.85, 100, 1e-6)
# Get the size of the largest clique in the graph
size = pg.approximation.large_clique_size(g)
# Get the connected components of the graph
comps = pg.community.connected_components(g)
# Get the Jaccard coefficient of the links
jc = pg.links.jaccard_coefficient(g)
License
PyGraphina is licensed under the MIT License.
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygraphina-0.2.0a2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pygraphina-0.2.0a2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 699.2 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7a2dcbd5522669f18328c7c780d1996608a0da38178ab57f056980221b189ac
|
|
| MD5 |
8614b04940c0ad5243db9d05732e1400
|
|
| BLAKE2b-256 |
412d4e298a4c13cb791e929598ee865ceac61e7e4a384f47b65dd1e5aec7ce44
|