Metadata-Version: 2.1
Name: graph_datasets
Version: 0.1.2
Summary: Load graph datasets.
Project-URL: Homepage, https://github.com/galogm/graph_datasets
Project-URL: Bug Tracker, https://github.com/galogm/graph_datasets/issues
Author-email: "galo.gm" <galo.gm.work@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: datasets,graph
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Requires-Dist: dgl>=0.9.0
Requires-Dist: dglgo>=0.0.2
Requires-Dist: gdown>=4.7
Requires-Dist: texttable>=1.6
Requires-Dist: torch-geometric>=2.0.3
Requires-Dist: torch>=1.10.2
Requires-Dist: torchaudio>=0.10.2
Requires-Dist: torchvision>=0.11.3
Requires-Dist: wget>=3.2
Description-Content-Type: text/markdown

# Graph Datasets

<div align="center">

[![PYPI](https://img.shields.io/pypi/v/graph_datasets?style=flat)](https://pypi.org/project/graph-datasets/)  [![Latest Release](https://img.shields.io/github/v/tag/galogm/graph_datasets)](https://github.com/galogm/graph_datasets/tags)

</div>

## Installation

```sh
$ python -m pip install graph_datasets
```

## Usage

```python
from graph_datasets import load_data

graph, label, n_clusters = load_data(
    dataset_name='cora',
    directory='./data',
    source='pyg',
    verbosity=1,
)
```

<!-- - DEV

```bash
# install cuda 11.3 if necessary
$ sudo bash scripts/cuda.sh
# see installation logs in logs/install.log
$ nohup bash scripts/install-dev.sh && bash scripts/install.sh > logs/install-dev.log &
```

- PROD

```bash
# see installation logs in logs/install.log
$ nohup bash scripts/install.sh > logs/install.log &
``` -->

## Requirements

See in `requirements-dev.txt` and `requirements.txt`.
