graphistry

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Graphistry Router

Graphistry 路由工具

Use this skill as the shared entrypoint across Graphistry interfaces.
将此技能作为Graphistry各接口的共享入口。

Route By Interface

按接口路由

  • Python SDK tasks (
    import graphistry
    , DataFrame shaping,
    .plot()
    ,
    .gfql()
    including Cypher/Let/DAG, PyGraphistry notebooks): use
    pygraphistry
    .
  • REST API tasks (
    curl
    ,
    /api/v2/...
    , JWT/Bearer auth, upload endpoints,
    graph.html
    URL params): use
    graphistry-rest-api
    .
  • JavaScript/TypeScript SDK tasks (
    @graphistry/*
    , browser/frontend integrations): use
    graphistry-js
    when available.
  • Python SDK 任务(
    import graphistry
    、DataFrame 处理、
    .plot()
    .gfql()
    (包含Cypher/Let/DAG)、PyGraphistry 笔记本):使用
    pygraphistry
  • REST API 任务(
    curl
    /api/v2/...
    、JWT/Bearer 认证、上传端点、
    graph.html
    URL 参数):使用
    graphistry-rest-api
  • JavaScript/TypeScript SDK 任务(
    @graphistry/*
    、浏览器/前端集成):在可用时使用
    graphistry-js

Mixed Requests

混合请求

  • If a request mixes Python SDK and REST endpoints, start with
    pygraphistry
    and pull in
    graphistry-rest-api
    for exact endpoint syntax.
  • For named-endpoint questions, keep guidance user-facing:
    /api/v2/o/<org>/functions/...
    for definition lifecycle and
    /api/v2/o/<org>/run/...
    for execution.
  • Keep the first routing response compact: selected interface + one minimal snippet + one canonical doc link.
  • 如果请求同时涉及Python SDK和REST端点,请先以
    pygraphistry
    为基础,再结合
    graphistry-rest-api
    获取精确的端点语法。
  • 对于命名端点相关问题,提供面向用户的指引:
    /api/v2/o/<org>/functions/...
    用于定义生命周期,
    /api/v2/o/<org>/run/...
    用于执行。
  • 首次路由回复需简洁:选定的接口 + 一段极简代码片段 + 一个官方文档链接。

Safety Rules

安全规则

  • Use environment variables for credentials and secrets.
  • Never put JWT tokens in URL query parameters.
  • Prefer documented endpoints; avoid invented helper endpoints.
  • 使用环境变量存储凭证和机密信息。
  • 切勿将JWT令牌放入URL查询参数中。
  • 优先使用已文档化的端点;避免使用自行创建的辅助端点。

Canonical Docs

官方文档