Skip to main content

Distributed Graph Flow

(Distributed) Graph Flow (GF) is a Python toolkit to develop and deploy Graph Neural Network (GNN) models.

For more information, check the documentation at https://dgf.readthedocs.io/

This is not an officially supported Google product. This project is not eligible for the Google Open Source Software Vulnerability Rewards Program.

Installation

To install DGF from PyPI, run:

pip install dgf -U

Currently, DGF is available on Python 3.11-13, on Linux x86-64.

😎 Minimal Usage example

# Temporary fix for Keras dependency.
import os
os.environ["TF_USE_LEGACY_KERAS"] = "1"

# Import (distributed) graph flow
import dgf

# Fetch an example graph
graph, schema = dgf.io.fetch_ogb_graph("arxiv")

# Train a model
model = dgf.learning.train_node_model(graph=graph, schema=schema, target_column="labels")

# Look at the model
model.describe()

# Evaluate the model
model.evaluate()

# Make predictions
model.predict(graph, seed_node_idxs=[0, 1, 2])

# Save the model for later
model.save("/tmp/model")

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 Distributions

If you're not sure about the file name format, learn more about wheel file names.

dgf-0.0.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

dgf-0.0.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

dgf-0.0.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file dgf-0.0.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dgf-0.0.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3f3f4cd31586aa034d2f7d5c771aa80acb67d8f76fe54481d1f6199094eed026
MD5 cedd6ed40bc0fac7694f04e7d491d97f
BLAKE2b-256 49f050b55a07abe4c7a2044606c0624abfa73bc5f1ab2b053cb5b22f014b0b01

See more details on using hashes here.

File details

Details for the file dgf-0.0.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dgf-0.0.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6cfb6847c57344bac05721c2cb381de75c12ca0cfe68679d273c86800f1b2f53
MD5 3598b3b4cfeb5f0902ec2e6e795065e5
BLAKE2b-256 2072cc886224295ff3970ecaa807e737da4974007a538b3c491ae5c58adf1716

See more details on using hashes here.

File details

Details for the file dgf-0.0.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dgf-0.0.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa703391aec351b440c917936ced6433e50745d6afbebd22a4b895da99385aa7
MD5 71002f5838c827d042d3021c24291a68
BLAKE2b-256 5b436b080f8c434c97fcb437ca431ebd618b170688064a76260cbca4bff4e433

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.5 This release

3 files

0.0.4

3 files

0.0.3

3 files

0.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page