Graph Data Science Python Client 1.7a1
Pre-release
Pre-release
We are happy to announce the first alpha release of graphdatascience
, the GDS Python client, version 1.7
! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.7-preview/
It contains the following changes:
New features
- Add a new method
GraphDataScience.server_version
which returns the version of the server not as astr
but as aServerVersion
. This allows easier inspection of the major, minor and patch version. - Implement context managment protocol for
Graph
. This allows usage as part of thewith
statements, where the graph is dropped at the end. - Added possibility to load datasets from the Open Graph Benchmark via the new methods:
gds.graph.ogbn.load
for node property prediction datasets, andgds.graph.ogbl.load
for link property prediction datasets.
- Added possibility to load NetworkX graphs via the new method
gds.graph.networkx.load
.
Improvements
- When an almost correct method is called, raise an error with a message that suggests the most probable correct method name that was intended.
- Improved IDE auto-completion support to give significantly fewer false positive suggestions.
- Failing to log progress of a call will no longer fail the call itself, but just warn that logging was unsuccessful.
- Underlying connections to a Neo4j DBMS is now being verified and retried automatically up to a timeout of 10 minutes.
- The
GraphDataScience.from_neo4j_driver
factory method now additionally takes the same Arrow related keyword parameters as theGraphDataScience
constructor.
Additionally, there is now reference documentation for the library which can be found here.
The release can be pip installed with pip install graphdatascience==1.7a1
.