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

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.7.4.tar.gz (224.3 kB view details)

Uploaded Source

Built Distribution

pyTigerGraph-1.7.4-py3-none-any.whl (273.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytigergraph-1.7.4.tar.gz
Algorithm Hash digest
SHA256 f7be9d3f03ccac2a37b5890c5f9b5fa943c513e872ff33aef0d5a639da469842
MD5 9e495bab6adfdb93540b69b22a596a17
BLAKE2b-256 4c9d665de79bb3888a2de192024477111f8b642776ed33627f72b2caac3082f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyTigerGraph-1.7.4-py3-none-any.whl
  • Upload date:
  • Size: 273.6 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.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8915ba9089f7e36fc1fd0b972f0398286f6e026dbaf9e382745e78a0d576f391
MD5 5401440e57e1d118086b94dcec4bbb84
BLAKE2b-256 055b0569e29d8c2f44dc33ec750016bf8ae496a29b1d4ce589560042a1950c96

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