pyTigerGraph
pyTigerGraph is a Python package for connecting to TigerGraph databases.
Already familiar with pyTigerGraph? Join the [_pytigergraph_community], else, get to know pyTigerGraph below.
Get to Know pyTigerGraph
Get Started Step-by-step guides to help you get up and running. |
Core Functions Core Functions allow you to use the core features of the TigerGraph database through pyTigerGraph. |
GDS Functions Graph Data Science (GDS) Functions perform machine learning tasks. |
TigerGraph Co-Pilot TigerGraph Co-Pilot is a natural language query service that allows users to ask questions about their graph data in plain English. |
Datasets Data Ingestion Functions ingest stock datasets into a TigerGraph database. |
Visualizations Use Visualizations to visualize graphs. |
Object-Oriented Schema The Object-Oriented Schema functionality allows users to manipulate schema elements in the database in an object-oriented approach in Python. |
Contribute Checkout the Contributing section for instructions on how to contribute. |
pyTigerGraph Community Utilize community resources for help and support when using pyTigerGraph. Community Forum | Community Discord | pyTigerGraph GitHub Issues |
Release Notes See Release Notes for the most up-to-date news on pyTigerGraph. |
Peformance Notes
pyTigerGraph is a feature-rich package that allows you to interact with TigerGraph databases using Python. It enhances TigerGraph’s REST API by adding extra features, such as URL setup, log creation, authentication, and error checks. Therefore, pyTigerGraph may perform slower than direct HTTP requests to the TigerGraph REST API.
pyTigerGraph vs. pyTigerGraph[gds]
We offer two versions of the package: pyTigerGraph and pyTigerGraph[gds].
pyTigerGraph is the default version and contains the core functionality of pyTigerGraph, including the following:
-
Data manipulation functions:inserting, updating, upserting, deleting, and retrieving vertices and edges.
-
Query functions: running and managing queries inside the TigerGraph database
-
Metadata functions: fetching details of graphs/schemas, vertex and edge types, and other schema objects and object types
-
Authentication and authorization functions
-
Miscellaneous utility functions
The pyTigerGraph[gds] version of pyTigerGraph is a drop-in replacement for pyTigerGraph, but adds support for Graph Data Science and Graph machine learning capabilities. This includes:
-
Graph feature engineering using algorithms from the GSQL Graph Data Science Library.
-
Data loaders for training and inference of Graph Neural Network (GNN) models using PyTorch Geometric and DGL.
-
Machine learning utilities for splitting vertices into training, validation, and testing sets.