A Python client for the Neo4j Graph Data Science (GDS) library, enabling users to run graph algorithms and manage graph projections directly from Python. Current version is 1.22, requiring Python >=3.10. The library is actively maintained with regular releases aligned with GDS server versions.
pip install graphdatascienceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to a Neo4j database and retrieves the GDS library version.
Upgrade Python to 3.10 or later before installing current versions.
Use `Auth(('neo4j', password))` or set `gds.auth = ('neo4j', password)` after creation.Use context manager: `with GraphDataScience(...) as gds: ...` or ensure `.close()` is called in a `finally` block.
Use `yield` or cursor-based iteration if available, or apply LIMIT in your Cypher query.
Use `from graphdatascience import GraphDataScience` (or `GraphDataScience` is a top-level class).
Ensure Neo4j is started and accessible at the URI. Check firewall and port 7687 (default).
Use `auth=('neo4j', 'password')` or `auth=Auth(('neo4j', 'password'))`.