Skip to main content

icegraph-client

Python client and CLI for the IceGraph server API - script access to tables, snapshot history, and the metadata graph.

Install

icegraph-client is only guaranteed compatible with the exact version of the IceGraph server it talks to - pin to that version:

pip install icegraph-client==<version>

CLI

icegraph --base-url http://<icegraph-server-host> tables
icegraph --base-url http://<icegraph-server-host> snapshots <database.table>
icegraph --base-url http://<icegraph-server-host> graph <database.table> [--start-snapshot-id ID] [--end-snapshot-id ID]

--base-url also falls back to the ICEGRAPH_BASE_URL environment variable. If your server sits behind a proxy that requires auth, pass --token/--cookie (or ICEGRAPH_TOKEN/ICEGRAPH_COOKIE).

Each command prints its result as JSON on stdout; status messages go to stderr, so output pipes cleanly.

Python

from icegraph_client import IceGraphClient

client = IceGraphClient("http://<icegraph-server-host>")
client.list_tables()
client.get_snapshot_map("database.table")
client.get_graph("database.table", start_snapshot_id, end_snapshot_id)

Docs

Full documentation, the IceGraph application, and the source code: github.com/YanivZalach/IceGraph

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icegraph_client-0.15.4.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

icegraph_client-0.15.4-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file icegraph_client-0.15.4.tar.gz.

File metadata

  • Download URL: icegraph_client-0.15.4.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for icegraph_client-0.15.4.tar.gz
Algorithm Hash digest
SHA256 5ce6bde850a341917114f284319ab20d66dc9a44fcd910d689eb2a94bad8e3b0
MD5 f8da747d2c3ce3961fd0c481ddc8ce71
BLAKE2b-256 9540d9d52e1360eec92d5e84ae1ab388ff18f94ed47538287bcd8e9b2c00a31d

See more details on using hashes here.

File details

Details for the file icegraph_client-0.15.4-py3-none-any.whl.

File metadata

File hashes

Hashes for icegraph_client-0.15.4-py3-none-any.whl
Algorithm Hash digest
SHA256 662c6bbea3d7694862781f0fb12c3b5d15f1209123d891faf653d3c6fb7c1043
MD5 cae3e4a22cbe0beebae82d23dbc8ff7d
BLAKE2b-256 f2fa2b9e22cb9f648806f7a94705ba26f422d26a6ca71d38a478bd130fae42fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page