Questions tagged [py2neo]

Py2neo provides Python bindings for the Neo4j graph database via its REST web service interface.

Py2neo provides Python bindings for the Neo4j graph database via its REST web service interface. With more detailed information available from py2neo.org, the source code can be found on GitHub and an installable package from the Python Package Index.

The library provides both in-depth support for the Cypher query language as well as the Geoff graph data notation.

729 questions
-1
votes
2 answers

py2neo merge is returning None

I have the following code: for t in set(tags): new_tag = Node('Tag', name=t) tag = graph.merge(new_tag, 'Tag', 'name') rel = Relationship(tag, 'TAGGED', post) graph.create(rel) The problem is that graph.merge() is returning None,…
HuLu ViCa
  • 5,077
  • 10
  • 43
  • 93
-1
votes
1 answer

Where can I learn how to GET and POST with python and neo4j

The statement of my problem: I have this site on a localhost where a user can input its name, skills etc. The database is a graph DB stored in neo4j, also on a localhost. When a user input something there is a routine in java script (not written by…
Dimitri
  • 109
  • 1
  • 14
-1
votes
2 answers

neo4j CYPHER - at ON MATCH SET create new nodes on condition

To import XML data into a neo4j DB I first parse the XML to a python dictionary and then use CYPHER queries: WITH $pubmed_dict as pubmed_article UNWIND pubmed_article as particle ... FOREACH (author IN…
Rich Steinmetz
  • 1,020
  • 13
  • 28
-1
votes
2 answers

py2neo: no module named core

I am trying to upload some files into a Neo4j database using python. I am using Python 2.7.6 and haved successfully installed neo4j-driver and py2neo modues: $ sudo pip install neo4j-driver Downloading/unpacking neo4j-driver Downloading…
brucezepplin
  • 9,202
  • 26
  • 76
  • 129
-1
votes
1 answer

CSV to load data into neo4j and display in web using d3.js versus displaying json data directly on web page using d3.js

Need to know advantages of using CSV file to load data into neo4j and display in web using py2neo and d3.js while I can display my json data directly on web page using d3.js . What's the advantage of using neo4j graph database in the above case.
Deepika
  • 1
  • 2
-1
votes
1 answer

Py2neo Api for Neo4j

I was playing around with Py2neoAPI for Neo4j , can somebody tell me how to pull the data from the graph by using pull() method. Can someone give me an example. I did the…
Kartikeya Sharma
  • 553
  • 1
  • 5
  • 22
-2
votes
2 answers

pip install py2neo failing

I am trying to install py2neo module but ending with below error. Please help me to resolve it. (base) C:\Users\ADMIN>pip install py2neo Collecting py2neo Using cached…
Anshul
  • 113
  • 1
  • 7
-2
votes
1 answer

Neo4j: Join existing nodes in neo4j graph

Problem statement: Add two input nodes n1 and n2 with edge directed n1-[:rel]->n2 1. if n1-[:rel]->n2 exists ignore 2. if n1 and n2 exists but not with [:rel] create a new relationship edge between the existing nodes 3. if n1 doesnt exist …
aman
  • 1,875
  • 4
  • 18
  • 27
-2
votes
1 answer

Error, too many values to unpack

I need to correct this Exception please : "too many values to unpack" This is my source code: I need to insert a node if not exist in my DB or if it exists I add just new relationship with new nodes :) from tweepy import Stream from tweepy import…
Ismahane
  • 27
  • 2
  • 8
1 2 3
48
49