Code Monkey home page Code Monkey logo

pytigergraph's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.