Skip to main content

Library to connect to TigerGraph databases

Project description

pyTigerGraph

pyTigerGraph is a Python package for connecting to TigerGraph databases. Check out the documentation here.

Downloads Downloads Downloads

Quickstart

Installing pyTigerGraph

This section walks you through installing pyTigerGraph on your machine.

Prerequisites

  • Python 3+
  • If you wish to use the GDS functionality, install torch ahead of time.

Install pyTigerGraph

To download pyTigerGraph, run the following command in the command line or use the appropriate tool of your development environment (anaconda, PyCharm, etc.).:

pip3 install pyTigerGraph

Install pyTigerGraph[gds]

To utilize the Graph Data Science Functionality, there are a few options:

  • To use the GDS functions with PyTorch Geometric, install torch and PyTorch Geometric according to their instructions:

    1. Install Torch

    2. Install PyTorch Geometric

    3. Install pyTigerGraph with:

      pip3 install 'pyTigerGraph[gds]'
      
  • To use the GDS functions with DGL, install torch and dgl according to their instructions:

    1. Install Torch

    2. Install DGL

    3. Install pyTigerGraph with:

      pip3 install 'pyTigerGraph[gds]'
      
  • To use the GDS functions without needing to produce output in the format supported by PyTorch Geometric or DGL. This makes the data loaders output Pandas dataframes:

pip3 install 'pyTigerGraph[gds]'

Once the package is installed, you can import it like any other Python package:

import pyTigerGraph as tg

Getting Started with Core Functions

pyTigerGraph 101

The video above is a good starting place for learning the core functions of pyTigerGraph. This Google Colab notebook is the companion notebook to the video.

Project details


Release history Release notifications | RSS feed

This version

1.8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytigergraph-1.8.tar.gz (269.8 kB view details)

Uploaded Source

Built Distribution

pyTigerGraph-1.8-py3-none-any.whl (348.0 kB view details)

Uploaded Python 3

File details

Details for the file pytigergraph-1.8.tar.gz.

File metadata

  • Download URL: pytigergraph-1.8.tar.gz
  • Upload date:
  • Size: 269.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pytigergraph-1.8.tar.gz
Algorithm Hash digest
SHA256 567476353317a8d9225eac56e2929b9aeb30f519de201f5527e0d5b06efa818d
MD5 d27b9364d553dfe798dcdba69433152e
BLAKE2b-256 cae793b9ad26341d403da4453dde6f75a64985dd27aec4a613ca651f57d00d2e

See more details on using hashes here.

File details

Details for the file pyTigerGraph-1.8-py3-none-any.whl.

File metadata

  • Download URL: pyTigerGraph-1.8-py3-none-any.whl
  • Upload date:
  • Size: 348.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyTigerGraph-1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b30bf12bfb62b73fe98034696ee336a1a7e04c48344cb5a5e808be260b904101
MD5 64c0fe4165d85102912d65c761b861a7
BLAKE2b-256 94de44974ba43a5b907b9cd7b40c754e3e27f039047279509a027ee9b98f47c2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page