graphistry
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGraphistry Router
Graphistry 路由工具
Use this skill as the shared entrypoint across Graphistry interfaces.
将此技能作为Graphistry各接口的共享入口。
Route By Interface
按接口路由
- Python SDK tasks (, DataFrame shaping,
import graphistry,.plot()including Cypher/Let/DAG, PyGraphistry notebooks): use.gfql().pygraphistry - REST API tasks (,
curl, JWT/Bearer auth, upload endpoints,/api/v2/...URL params): usegraph.html.graphistry-rest-api - JavaScript/TypeScript SDK tasks (, browser/frontend integrations): use
@graphistry/*when available.graphistry-js
- Python SDK 任务(、DataFrame 处理、
import graphistry、.plot()(包含Cypher/Let/DAG)、PyGraphistry 笔记本):使用.gfql()。pygraphistry - REST API 任务(、
curl、JWT/Bearer 认证、上传端点、/api/v2/...URL 参数):使用graph.html。graphistry-rest-api - JavaScript/TypeScript SDK 任务(、浏览器/前端集成):在可用时使用
@graphistry/*。graphistry-js
Mixed Requests
混合请求
- If a request mixes Python SDK and REST endpoints, start with and pull in
pygraphistryfor exact endpoint syntax.graphistry-rest-api - For named-endpoint questions, keep guidance user-facing: for definition lifecycle and
/api/v2/o/<org>/functions/...for execution./api/v2/o/<org>/run/... - 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
官方文档
- Graphistry Hub docs: https://hub.graphistry.com/docs/
- PyGraphistry docs: https://pygraphistry.readthedocs.io/en/latest/
- REST auth docs: https://hub.graphistry.com/docs/api/1/rest/auth/
- REST upload docs: https://hub.graphistry.com/docs/api/2/rest/upload/
- REST SSO/single-use gateway docs: https://hub.graphistry.com/docs/api/2/rest/sso/
- REST GFQL UDF docs: https://hub.graphistry.com/docs/UDF/gfql-udf-api/
- REST Python UDF docs: https://hub.graphistry.com/docs/UDF/py-udf-api/
- Graphistry Hub 文档:https://hub.graphistry.com/docs/
- PyGraphistry 文档:https://pygraphistry.readthedocs.io/en/latest/
- REST 认证文档:https://hub.graphistry.com/docs/api/1/rest/auth/
- REST 上传文档:https://hub.graphistry.com/docs/api/2/rest/upload/
- REST SSO/一次性网关文档:https://hub.graphistry.com/docs/api/2/rest/sso/
- REST GFQL UDF 文档:https://hub.graphistry.com/docs/UDF/gfql-udf-api/
- REST Python UDF 文档:https://hub.graphistry.com/docs/UDF/py-udf-api/