Metadata-Version: 2.4
Name: pygraphina
Version: 0.2.0a3
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
License-File: LICENSE
Summary: Python bindings for the Graphina library
Keywords: graph-theory,data-science,graph-algorithms,graph-analytics
Author-email: Hassan Abedi <hassan.abedi.t@gmail.com>
Maintainer-email: Hassan Abedi <hassan.abedi.t@gmail.com>
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: homepage, https://github.com/habedi/graphina
Project-URL: documentation, https://github.com/habedi/graphina
Project-URL: repository, https://github.com/habedi/graphina

## PyGraphina

[![Python version](https://img.shields.io/badge/python-%3E=3.10-blue)](https://github.com/habedi/graphina)
[![PyPI version](https://badge.fury.io/py/pygraphina.svg)](https://badge.fury.io/py/pygraphina)
[![Documentation](https://img.shields.io/badge/docs-read-blue.svg)](docs)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

PyGraphina Python library allows users to use [Graphina](https://github.com/habedi/graphina) in Python.

> [!IMPORTANT]
> PyGraphina is in early development, so bugs and breaking changes are expected.
> Please use the [issues page](https://github.com/habedi/graphina/issues) to report bugs or request features.

### Installation

```bash
pip install --pre pygraphina
```

### Quickstart

```python
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](LICENSE).

