srizdebnath/tigergraphskills/pytigergraph-connect

Claude Code and agent skill by srizdebnath/tigergraphskills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install, configure, and establish a secure connection using the pyTigerGraph driver. Use when building Python applications.

Install

npx vskill@latest install srizdebnath/tigergraphskills/pytigergraph-connect

SKILL.md

Connecting with pyTigerGraph (Local Docker & Cloud)

When to use this

Use when establishing Python driver connections (pyTigerGraph) to a TigerGraph instance running either locally in Docker or hosted on TigerGraph Cloud (Savanna / TGCloud).

Connection Configurations: Local Docker vs. Cloud-Based

Option A: Connecting to Local Docker Instance

When running TigerGraph locally inside a Docker container (tigergraph/tigergraph-developer):

python
from pyTigerGraph import TigerGraphConnection
# Connect to Local Docker instance
conn = TigerGraphConnection(
host="http://localhost", # Local host address
restppPort=9000, # REST++ port
gsPort=14240, # GraphStudio / GSQL port
graphname="Social_Network",
username="tigergraph", # Default developer credentials
password="tigergraph",
tgCloud=False # Set to False for local/on-prem
)
# Authenticate if secret/token is enabled
# conn.getToken(secret="YOUR_LOCAL_SECRET")
print(conn.echo())
Option B: Connecting to Cloud-Based Instance (Savanna / TGCloud)

When connecting to a managed cloud instance:

python
from pyTigerGraph import TigerGraphConnection
# Connect to TGCloud / Savanna Instance
conn = TigerGraphConnection(
host="https://my-workspace.savanna.tigergraph.com", # Full workspace HTTPS URL
graphname="Social_Network",
username="tigergraph",
password="YOUR_SAVANNA_PASSWORD",
tgCloud=True # Set to True for managed cloud
)
# Acquire session authorization token using secret key
conn.getToken(secret="YOUR_CLOUD_SECRET")
print(conn.echo())

Steps

  1. Install pyTigerGraph using pip:

``bash pip install pyTigerGraph ``

  1. Determine your target environment (Local Docker vs Cloud-Based).
  2. Initialize TigerGraphConnection with the correct tgCloud, host, and port parameters shown above.
  3. Call conn.echo() to verify connection health.

Common mistakes

  • Mismatched `tgCloud` Flag: Setting tgCloud=False when connecting to Savanna or Cloud Classic. Setting tgCloud=True forces pyTigerGraph to route through port 443 with HTTPS, whereas tgCloud=False uses default ports 9000/14240.
  • Missing Token Generation: Attempting to execute REST++ endpoints or queries on Cloud instances without calling conn.getToken(secret=...) after initialization.
  • Port Block in Docker: Forgetting to map ports 9000:9000 and 14240:14240 when launching the Docker container locally.

Sources

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/srizdebnath/tigergraphskills/pytigergraph-connect/badge)](https://verified-skill.com/skills/srizdebnath/tigergraphskills/pytigergraph-connect)

Something wrong with this skill or its page? Tell us.