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

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

Uploaded Source

Built Distribution

pytigergraph-1.9.0-py3-none-any.whl (278.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytigergraph-1.9.0.tar.gz
Algorithm Hash digest
SHA256 e30cdee676e1dca37b6b3e450bdd829cd11416b8624ff2aba25268ea4b02b950
MD5 713305a6852f9dab163b5621148ff561
BLAKE2b-256 126cc111fff62b69a7b21ae697e9dfb76ab39e806de82f2f8f78daff9d68dff4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pytigergraph-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a9dfd66a5ae0b675cb439e125aeb7ca65a5d371107fd06d8692a84888958cff
MD5 9418ec758a44a425a56679e29c632d4a
BLAKE2b-256 918542ca304365c9e52fbcd4cb5d6fdc31f6d5baa8ce4686f1676ea8c7ed6212

See more details on using hashes here.

Supported by

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