One option could be use neo4j-rest-client and make transactions for
nodes and relationships:
>>> import csv
>>> from neo4jrestclient.client import GraphDatabase
>>> gdb = GraphDatabase("
http://localhost:7474/db/data/")
>>> nodes_reader = csv.reader(open('nodes.csv', 'rb'))
>>> for prop1, prop2, prop3 in nodes_reader:
... with gdb.transaction():
... gdb.nodes.create(prop1=prop1, prop2=prop2, prop3=prop3)
And the same for relationships. Or you can even split the transactions
in several if there are too many nodes.
--
Javier de la Rosa
http://versae.es