Skip to main content

pyTigerGraph

pyTigerGraph is a Python package for connecting to TigerGraph databases. Check out the extended docs here

Getting Started

To download pyTigerGraph, simply run: pip3 install pyTigerGraph Once the package installs, you can import it and instantiate a connection to your database:

import pyTigerGraph as tg

conn = tg.TigerGraphConnection(host="<hostname>", graphname="<graph_name>", username="<username>", password="<password>", apiToken="<api_token>")

If your database is not using the standard ports (or they are mapped), you can use the following arguments to specify those:

For example, in case of using a local virtual machine with the ports mapped:

conn = tg.TigerGraphConnection(host="localhost", restppPort=25900, gsPort=25240, graphname="MyGraph", username="tigergraph", password="tigergraph", apiToken="2aa016d747ede9gg6da3drslm98srfoj")

For more details on establishing a connection, read the Getting Started page.

Development

Fork or clone this repo. Check out a new branch.

Set up the dev environment:

  • For core functions
  • For the GDS subpackage, install the gds_dev_env.yml environment in the "conda" folder. If you don't have conda, install miniforge first. (Don't use miniconda as Anaconda repo has a restrictive license now.)

Work on your branch. Once your work is done, send a pull request. Unit tests are required for the review.

Example Projects

Credits

pyTigerGraph was originally created by Parker Erickson, a Computer Science student at the University of Minnesota. Special thanks to contributors Jon Herke and Szilard Barany of TigerGraph. Read this to learn more about how you can contribute.

Metadata

Release files for pyTigerGraphBeta 0.0.9.9.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyTigerGraphBeta 0.0.9.9.2
File Size Uploaded
pyTigerGraphBeta-0.0.9.9.2.tar.gz 100.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyTigerGraphBeta 0.0.9.9.2
File Interpreter ABI Platform
pyTigerGraphBeta-0.0.9.9.2-py3-none-any.whl Python 3 none any Details

Total release size: 230.2 kB

Release files / pyTigerGraphBeta-0.0.9.9.2.tar.gz

Download URL pyTigerGraphBeta-0.0.9.9.2.tar.gz
Size 100.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4d5eb9539bbc244643b065fbe1329e857d20fc7ab4789f206e7c7ab613d6bab1
BLAKE2b-256 checksum
How to use checksums
0707f5f7e026893d9382cd7f419f14ebcf45c05449096c037abf1ed929fbb69f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pyTigerGraphBeta-0.0.9.9.2-py3-none-any.whl

Download URL pyTigerGraphBeta-0.0.9.9.2-py3-none-any.whl
Size 129.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8416de5b8a25c33e251d98c012cfea86fdfdfe792f3dc05f8b1e80ae4bbd4e5
BLAKE2b-256 checksum
How to use checksums
bf208f14288749072e2a53a427eed606e39047c952ed2b7fc91db7688817218c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.0.9.9.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page