$npx skillfedfor your agent

graphdatascience

A Python client for the Neo4j Graph Data Science (GDS) library

With conditionsPyPI Software DevelopmentReleased Jun 202674.5K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — graphdatascience-1.22-py3-none-any.whl
v1.22 · released 2026-06-04 · Python >=3.10 · 11 runtime deps: multimethod, neo4j, numpy, pandas, pyarrow, textdistance, tqdm, typing-extensions

Yes, if you are already using Neo4j Graph Data Science and want to work with graphs from Python. The low install friction, active maintenance, permissive license, and lack of known vulnerabilities make it a safe choice. No if you don't have a GDS instance or are looking for a standalone graph library—this is a client, not a self-contained engine.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Neo4j Graph Data Science instance (GDS 2.0+) and network access to it; cannot operate standalone.
  • Low friction: pure Python wheel with no compiled dependencies.
  • Active maintenance with recent releases; last commit 2026-08-13.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-06-04 (71 days) · last repo commit 2026-08-13 · 244 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,484 downloads/mo, #14,825 on PyPI

Verify before relying

pip install graphdatascience

from graphdatascience import GraphDataScience

gds = GraphDataScience("neo4j+s://your-instance:7687", auth=("user", "pass"), aura_ds=True)
G = gds.graph.load_cora()
result = gds.pageRank.mutate(G, tolerance=0.5, mutateProperty="pagerank")
  • Whether numeric utility functions are truly unsupported or if this limitation has changed since the description was written.
  • Exact compatibility matrix between graphdatascience versions and GDS server versions beyond the stated 2.0+ requirement.
Same gist for agents: .md · .json

What it is and what it does

graphdatascience is a Python wrapper around Neo4j's Graph Data Science library, designed to let you work with graph algorithms and machine learning pipelines without writing Cypher. It abstracts the Neo4j Python driver and provides object-oriented access to graph projections, algorithm execution, and model training. The client mimics GDS's Cypher procedure API but surfaces it as Python methods, reducing boilerplate and making graph workflows feel more native to Python developers.

You use it to load or project graphs from a Neo4j database, run algorithms like PageRank or community detection, and construct machine learning pipelines for tasks like node classification or link prediction. It depends on neo4j (the driver), pandas, numpy, and several utility libraries (pydantic, tenacity, requests) to handle data transformation, retry logic, and communication. The package is production-stable and actively maintained, with support for Python 3.10 through 3.14.

Use it for

  • Build and train node classification pipelines on graph data without writing Cypher queries.
  • Run graph algorithms (PageRank, centrality, community detection) and materialize results back to the database.
  • Develop recommendation systems using graph embeddings and similarity algorithms like kNN on FastRP.
  • Perform end-to-end machine learning on heterogeneous graphs with feature engineering and model inference.
  • Load and manipulate graph projections programmatically as part of a Python data science workflow.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using Neo4j Graph Data Science and want to work with graphs from Python.

The low install friction, active maintenance, permissive license, and lack of known vulnerabilities make it a safe choice. No if you don't have a GDS instance or are looking for a standalone graph library—this is a client, not a self-contained engine.

Install

graphdatascience on PyPI

Before you install

Low friction: pure Python wheel with no compiled dependencies. Active maintenance with recent releases; last commit 2026-08-13. Requires Python 3.10 or later and a running Neo4j GDS instance.

Requires a running Neo4j Graph Data Science instance (GDS 2.0+) and network access to it; cannot operate standalone.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install graphdatascience

from graphdatascience import GraphDataScience

gds = GraphDataScience("neo4j+s://your-instance:7687", auth=("user", "pass"), aura_ds=True)
G = gds.graph.load_cora()
result = gds.pageRank.mutate(G, tolerance=0.5, mutateProperty="pagerank")

Verify before relying

  • Whether numeric utility functions are truly unsupported or if this limitation has changed since the description was written.
  • Exact compatibility matrix between graphdatascience versions and GDS server versions beyond the stated 2.0+ requirement.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
11 packages
multimethodneo4jnumpypandaspyarrowtextdistancetqdmtyping-extensionsrequeststenacitypydantic
MaintenanceActively maintained 71 days since the last release
Last repo commit
First released
Downloads74,484 / month, #14,825 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: DatabaseTopic :: Scientific/EngineeringTopic :: Software DevelopmentTyping :: Typed

Evidence: graphdatascience-1.22-py3-none-any.whl

Tags

Capabilities
neo4j graph algorithms pythongraph data science clientgds python machine learninggraph projection and analysisneo4j ml pipelines pythongraph neural network trainingnode classification with gds
Topics
graph-algorithmsmachine-learningneo4j

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “neo4j graph algorithms python”

  • graphdatascienceA Python client for Neo4j Graph Data Science that lets you project…
  • neo4jOfficial Python driver for connecting to and querying Neo4j graph…
  • neomodelAn Object Graph Mapper (OGM) for Neo4j that lets you define graph…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also graphlib · neo4j-graphrag · neo4j-driver · neo4j · py2neo · neomodel · graphiti-core · apache-airflow-providers-neo4j · graphframes-py