Dynamic Graph Processing
Provides
- A data-loader to download a suite of dynamic graph datasets.
- An evaluator for the suit of dynamic graph datasets
- Tools to benchmark graph models, example code snippets, tutorials, etc. (ongoing...)
To install
use pip for Python, make sure version python version is 3.6+
>>> pip install dgb
Code examples
Code snippet to import the module::
import dgb
Code snippets to download a dataset::
enron = dgb.TemporalDataSets(data_name="enron")
enron_dict = enron.process()
train = enron_dict["train"]
test = enron_dict["test"]
val = enron_dict["validation"]
to print all possible datasets::
data_list = dgb.list_all()
for data_name in data_list:
print(data_name)
to download all possible datasets that have not been downloaded yet::
dgb.download_all()
to force redownload all datasets::
dgb.force_download_all()
to skip download prompts and dataset statistics when processing::
dgb.TemporalDataSets(data_name="enron", skip_download_prompt=True, data_set_statistics=False)
License
Release files for dgb 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dgb-0.2.tar.gz | 21.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dgb-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.1 kB
Release files / dgb-0.2.tar.gz
| Download URL | dgb-0.2.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
110cf5eff13f6b74c81fbd7d0a5ee99b052cdbe5256246e41cb6272f71135371
|
|
BLAKE2b-256 checksum How to use checksums |
f6abfa656f69bd263b3b589d07e3b15647564f05ae768c41b38610a6c7c10bd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Release files / dgb-0.2-py3-none-any.whl
| Download URL | dgb-0.2-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e69f4b727a334bedd1d4124eade89b9d394aa2014fe892f27d426be06f1ca42a
|
|
BLAKE2b-256 checksum How to use checksums |
a2c6c7a4a2dd64a0a2cbef6fec747f0eb12d2986ac9634274624b4121103a4a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|