Skip to main content

Dynamic Graph Processing

Provides

  1. A data-loader to download a suite of dynamic graph datasets.
  2. An evaluator for the suit of dynamic graph datasets
  3. 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


MIT 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)

Source distribution for dgb 0.2
File Size Uploaded
dgb-0.2.tar.gz 21.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dgb 0.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page