The REST interface is widely used and in this recipe, we will learn how to access Neo4j from Python using the REST Bindings.
The py2neo module (http://py2neo.org/2.0/) is an excellent Python binding module used to connect to the Neo4j REST API server.
The py2neo module can be installed from both
easy_install, as shown here:
$ pip install py2neo $ easy_install py2neo
The following steps will get you started with this recipe:
from py2neo import neo4j graph = neo4j.GraphDatabaseService(ENDPOINT_URL) graph.create(node(name="A")