Connecting to a local Neo4j database from a local jupyter notebook

Hi @trent_fowler!

Maybe @clair.sullivan's blog post on loading data into Neo4j with Python would be helpful? Create a Graph Database in Neo4j Using Python

The syntax is a bit confusing, but you're on the right path with using GraphDatabase.driver to open the connection. It's usually easiest to set up some helper functions that handle passing queries to your GraphDatabase object - Clair's example has a great demo of how to set that up.

Py2Neo is great if you're working with a single instance, and don't need to deal with clusters or transaction functions - but we usually recommend using the officially supported driver.

4 Likes