Skip to main content

gQuant - Graph Computation Toolkit

What is gQuant?

gQuant is a tool that helps you to organize the workflows.

  1. It define a TaskGraph file format .gq.yaml that describes the workflow. It can be edited easily by gquantlab JupyterLab plugin.
  2. Dynamically compute the input-output ports compatibility, dataframe columns names and types, ports types to prevent connection errors.
  3. Nodes can have multiple output ports that can be used to generate different output types. E.g. some data loader Node provides both cudf and dask_cudf output ports. The multiple GPUs distributed computation computation is automatically enabled by switching to the dask_cudf output port.
  4. Provides the standard API to extend your computation Nodes.
  5. The composite node can encapsulate the TaskGraph into a single node for easy reuse. The composite node can be exported as a regular gQuant node without any coding.
  6. gQuant can be extended by writing a plugin with a set of nodes for a particular domain. Check plugins for examples.

These examples can be used as-is or, as they are open source, can be extended to suit your environments.

Binary pip installation

To install the gQuant graph computation library, run:

pip install gquant

Or install gquant at the root directory:

pip install .

gQuant node plugins can be registered in two ways:

  1. (Recommended)Write a external plugin using 'entry point' to register it. Check the external directory for details
  2. Register the plugin in gquantrc file. Check the System environment for details

System environment

There are a few system environment that the user can overwrite.

The custom module files are specified in the gquantrc file. GQUANT_CONFIG enviroment variable points to the location of this file. By default, it points to $CWD\gquantrc.

In the example gquantrc, system environment variable MODULEPATH is used to point to the paths of the module files. To start the jupyterlab, please make sure MODULEPATH is set properly.

Release files for gquant 1.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 gquant 1.0.2
File Size Uploaded
gquant-1.0.2.tar.gz 34.5 kB Details

Release files / gquant-1.0.2.tar.gz

Download URL gquant-1.0.2.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f3cee7dc21d33d32a11f08a9e189aba8f6ce672c248c4d281b209a4117ec0cd2
BLAKE2b-256 checksum
How to use checksums
9d02354cd621f06bafb36eed11e19efab709b3679c522f5526ab9ac969641b23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

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