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.7.2

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

Uploaded Source

Built Distribution

pyTigerGraph-1.7.2-py3-none-any.whl (273.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytigergraph-1.7.2.tar.gz
  • Upload date:
  • Size: 224.1 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.2.tar.gz
Algorithm Hash digest
SHA256 008ed5eb4374fb76f22df98d495555ecb394d90f8965235117b823cf41af50ec
MD5 f5623acd41acd8910b2cdc7bc6901a8a
BLAKE2b-256 3e200cac0c9e0fafd3c43b548505ca83861b1ea93718f499a46d0ab7be71bdd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyTigerGraph-1.7.2-py3-none-any.whl
  • Upload date:
  • Size: 273.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea2c4b0f6f9efa0403aec948f8217bdd3c8d9517888f4ac30ebb4b88600060b5
MD5 afe03d1f8a8c9d0b00ff4498bf93b248
BLAKE2b-256 c9a6f41dd1fecc34c8f15c420f3e7623c7aa5b0e04de424cd59f04d9e57997dd

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