The Graphiant CLI ships with Graphiant SDK. Use it to log in via the Graphiant Portal, store a bearer token, and run quick API checks without writing a full Python script.
Graphiant Python SDK is accessed via: https://github.com/Graphiant-Inc/graphiant-sdk-python#graphiant-cli
Getting Started
PyPI Package:
https://pypi.org/project/graphiant-sdk/
Documentation:
https://github.com/Graphiant-Inc/graphiant-sdk-python#graphiant-cli
Source Code:
https://github.com/Graphiant-Inc/graphiant-sdk-python
Example Usage
# 1) Log in (browser opens; paste token if prompted)
graphiant login
# 2) Load the token into *this* shell (required — see below)
source ~/.graphiant/env.sh
# 3) Sanity-check session
graphiant whoami
# 4) Call an API (token from env or saved profile)
graphiant invoke v1_edges_summary_get
graphiant rest GET /v1/edges-summaryTopology
.png)