Using Cypher to create our features is good for testing, but once we are in the production phase, it is not manageable to manually perform such operations. Fortunately, Neo4j officially provides drivers for several languages, including Java, .NET, and Go. In this book, we use Python, so we will learn about the Python driver in the following section.
Discovering the Neo4j Python driver
Python is officially supported by Neo4j, who provides a driver to connect to a Neo4j graph from Python at https://github.com/neo4j/neo4j-python-driver.
It can be installed through the pip Python package manager:
pip install neo4j
# or
conda install -c conda-forge neo4j
The code for this section is available in a Jupyter notebook: Neo4j_Python_Driver.ipynb.
In order to use this database, the first step is the connection definition, which requires the active graph URI and the authentication parameters. bolt is a client-server communication...