01-windows download and install neo4j
https://blog.csdn.net/qq_21383435/article/details/78807024
Neo4j configuration file (detailed graphic and text)
https://www.cnblogs.com/zlslch/p/6933800.html
python connect neo4j
#coding:utf-8 from py2neo import Graph,Node,Relationship #Query based on properties def findOne(label, propertyName, propertyValue): foundNode = graph.find_one( label = label, property_key = propertyName, property_value = propertyValue ) return foundNode graph = Graph("http://localhost:7474", username="neo4j", password="123456") #Create node # temp_node = Node('Person', name='Zhang Hong')# Node label name, node attribute # graph.create(temp_node) #Building relations # fa = findOne ('Person','name','张 ocean') # da = findOne ('Person','name','张红') #if (fa! = None and da! = Node): # fa_da = Relationship (fa,'call', da) # fa_da ['count'] = 1 # graph.create (fa_da) # # da_fa = Relationship (da, 'call', fa) # da_fa ['count'] = 3 # graph.create (da_fa) print findOne('call','count','1')