Neo4j Driver for Python Release

A new version of the Neo4j Driver for Python, version 1.7.0b4, is now available.

3 Likes

A new version of the Neo4j Driver for Python, version 1.7.0rc1, is now available.

A new version of the Neo4j Driver for Python, version 1.7.0rc2, is now available.

A new version of the Neo4j Driver for Python

  • Version 1.7.1

Are now available.

A new version of the Neo4j Driver for Python - Version 1.7.3 - is now available:

A new version of the Neo4j Python Driver (v1.7.4) is now available:

A new version of the Neo4j Driver for Python - Version 1.7.6 - is now available:

1 Like

A new alpha version of the python driver - 4.0.0a1 - is now available:

1 Like

A new alpha version of the python driver - 4.0.0a2 - is now available:

The latest alpha version of the python driver - 4.0.0.a3 - is now available:

A new alpha version is available: 4.0.0.a4

A beta version for the python driver is now available (4.0.0b1)

2 Likes

An new beta version for python driver is now available: 4.0.0b2

1 Like

We have a first release candidate for the 4.0 python driver: 4.0.0rc1

The python driver 4.0.0 has been released!
See: neo4j-driver · PyPI

2 Likes

Hello @valerio.malenchino1,

I see that you removed Result.data() that was very practical, how do you get all data as fast as possible with the last version of the driver?

For example with this query:

seasons = ses.run("MATCH (s:Season) RETURN s.name AS name, s.start AS start, s.end AS end, s.lockout AS lockout ORDER BY start DESC").data()

Regards,
Cobra

Hi @cobra,

Thanks for getting in touch.

Yes, the Result.data() was removed: each record has the .data() method, the Result objects purpose to be an iterator for records, while the Record object contains the data.

The fix for your example is to iterate the result object like.

result = session.run(...)
extracted_data = [record.data() for record in result

It's an extra line, but it will show much more explicitly what's going on.
I hope this is not too much of an inconvenience for you.

Regards,
Valerio

1 Like

Hi and thank you :slight_smile:

Yeah it is what I did :smile:

To be honest, our old code was using this line but we switched to .data() so with this new version I had to update again to :smile:

Thank you again,
Regards,
Cobra

Python Driver 4.0.2 released, 4.0 changelog · neo4j/neo4j-python-driver Wiki · GitHub

Python Driver 4.1.0 released,

1 Like