graphistry/pygraphistry

PyGraphistry is a Python library to quickly load, shape, embed, and explore big graphs with the GPU-accelerated Graphistry visual graph analyzer

What it solves

PyGraphistry helps data scientists and developers who work with graph-shaped data (connections, relationships, networks) but struggle to make sense of it at scale. Standard tools often choke on graphs with millions of edges, or lack interactive ways to explore them. PyGraphistry makes it possible to quickly ingest, visualize, and query large graphs—up to millions of edges—with interactive point-and-click features like drilldowns, timebars, and filtering, and optionally with native GPU acceleration for 100x+ speedups.

How it works

The library works directly with Python dataframes (Pandas, cuDF, Spark, Apache Arrow). You bind your data to graph edges and nodes, style it with a few lines of Python, and then send it to a Graphistry server (free GPU accounts or self-hosted) for an interactive visualization session. For processing and queries, PyGraphistry includes GFQL, a graph query language that runs directly on dataframes using either CPU (via Polars in Rust) or GPU (via Polars-GPU) engines. You can also use built-in graph analytics (like pagerank) and AI methods (like UMAP embeddings, clustering, graph neural networks) through the optional graphistry[ai] extras, all with nearly identical code for CPU and GPU modes.

Who it's for

Data scientists, analysts, and developers who need to explore, analyze, and present large relational datasets. It's used by banks, manufacturers, news agencies, government agencies, startups, game companies, scientists, biotech firms, and NGOs. If you work in Jupyter, Databricks, or similar notebooks, you can prototype locally and then deploy to production dashboards or pipelines.

Highlights

  • Interactive visualizations with millions of edges, including built-in drilldowns, timebars, and filtering
  • DataFrame-native graph processing: works with Pandas, Spark, Apache Arrow, and RAPIDS GPU dataframes
  • GFQL: query graphs with Cypher-like syntax or Python chains, running vectorized operations on CPU (Rust via Polars) or GPU
  • Optional GPU acceleration with 100x+ speedups for ingestion, wrangling, and computation
  • Many integrations: graph databases (Neo4j, Neptune, TigerGraph, etc.), data platforms (Databricks, Splunk, PostgreSQL, Kusto), and Python tools (NetworkX, Graphviz)
  • Prototype locally in notebooks, then deploy remotely to Graphistry Hub or self-hosted servers
  • AI assistant support: official graphistry-skills package improves LLM success rates on PyGraphistry tasks
  • Open source with a gallery of live demos and notebooks

Related

  • Project
  • Project
  • Project
  • Project
  • Project