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

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

Uploaded Source

Built Distribution

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

pytigergraph-1.9.1-py3-none-any.whl (296.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytigergraph-1.9.1.tar.gz
  • Upload date:
  • Size: 222.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for pytigergraph-1.9.1.tar.gz
Algorithm Hash digest
SHA256 a3a2ce43999193bb2fec5eb904ddc5221972b342160d2cdc68cb7796685a6a79
MD5 12be3eadcd433c66203dc6dfbe4a5388
BLAKE2b-256 5223a037ea3e1cf44bfd85a2f8811a0011e84ca6641cf724527e47f6976d8017

See more details on using hashes here.

File details

Details for the file pytigergraph-1.9.1-py3-none-any.whl.

File metadata

  • Download URL: pytigergraph-1.9.1-py3-none-any.whl
  • Upload date:
  • Size: 296.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for pytigergraph-1.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 484dcc821a347b89a5104a1d7d39ea655d0e4d798c0d18a21cf476cf99715e9e
MD5 ce01345566da25c6ed71797fe529066f
BLAKE2b-256 fb94154efe5df5e297b044385d17d0d41b05c1d3acb1801e20c4c7581843e223

See more details on using hashes here.

Supported by

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