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

Uploaded Source

Built Distribution

pyTigerGraph-1.8.1-py3-none-any.whl (358.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytigergraph-1.8.1.tar.gz
Algorithm Hash digest
SHA256 21fc719a1330578d1e297a6b0da543b37a31152b3b8106d79abb01303816b223
MD5 1df541407a541eaa056a44c522023498
BLAKE2b-256 dd13c54448520e75db70ca54534b52c0fc0569ce555973a60aeb4c27b61fa4e0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyTigerGraph-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15d573a3b33ad3dc7adce3f3a0af9e52fc1c6ee3ed92bf3e910f73048107c47d
MD5 e2f1284b656c6bb1735819d99f63cd1e
BLAKE2b-256 8e5d2b5ebc07ce9646c803d77379184de840d6d94e3a9b42cc9f5909c1b19a5e

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