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
0
votes
1 answer

SocketError : Operation not permitted (returning py2neo exception)

I am trying to return a bunch of rows to my web page with a render function in django, but I get the following error. Request Method: POST Request URL: http://localhost:8000/neoapp/user_rec.html Django Version: 1.8.6 Python Version:…
goelakash
  • 2,502
  • 4
  • 40
  • 56
0
votes
2 answers

How to get all connected nodes in neo4j graph in py2neo

Is there a way with py2neo to get all the connected nodes in a graph. All nodes that are connected by relationship?
Nicky Feller
  • 3,539
  • 9
  • 37
  • 54
0
votes
1 answer

Py2Neo - how to get around iterating the record object returned from cypher queries to access the query data

I use py2neo to connect to Neo4j. E.g I have a query that gives this result (I can actually be anything: numbers, strings....) number | first name | last name -------------------------------------- 1 | Anne | Hathaway 2 …
Goofball
  • 735
  • 2
  • 9
  • 27
0
votes
0 answers

Is there an alternative to guillemets in py2neo?

I need to use the cypher.execute to build a database in python for neo4j with py2neo. But my jupyther (ipython notebook) is not recognizing the << >> characters in this statement. is there an alternative? cypher.execute("CREATE (a…
Nicky Feller
  • 3,539
  • 9
  • 37
  • 54
0
votes
1 answer

Is a Rollback of my database possible in py2neo after execution of program?

I am trying to run a cypher query in py2neo and overcome some restrictions. I actually want to add some weight to the edges of my graph for a specific execution but after the execution of the program I don't want the changes to remain on my neo4j DB…
panomi
  • 21
  • 3
0
votes
0 answers

Neo4j and neomodel are throwing unique exception on single parameter

I am populating a database and I have these this model: class Album(StructuredNode): name = StringProperty(unique_index=False, required=True) artist = StringProperty(unique_index=False, required=True) slug =…
Rob
  • 3,333
  • 5
  • 28
  • 71
0
votes
2 answers

Lucene full-text index: all indexed nodes with same score?

I have been trying solving this issue since days. I want to do a START query against full-text, ordered by relevance, so to paginate results. Gladly, I finally found this thread on full-text indexing and neo (and using python as…
user305883
  • 1,635
  • 2
  • 24
  • 48
0
votes
1 answer

py2neo Can't run GraphServer

I've problems using the server from the py2neo package. Here is what I try: from py2neo.server import GraphServer server = GraphServer() This leads to the following exception: FileNotFoundError: [Errno 2] No such file or directory:…
Eliu S
  • 122
  • 1
  • 11
0
votes
0 answers

Error: graph.open_browser() in py2neo

graph.open_browser() open well a web page, http://localhost:7474/browser/ , but no content ??? a CYPHER request as "MATCH (n) RETURN n ", remains necessary in order to see something ERROR: (process:13981): GLib-CRITICAL **: g_slice_set_config:…
0
votes
2 answers

Node object is not iterable

I get this error message, when I try to parse the result set, returned by MATCH query. What I want is to somehow convert the resultset to a dictionary. I should say that I know how to access particular fields of the result set - like…
Jacobian
  • 10,122
  • 29
  • 128
  • 221
0
votes
2 answers

py2neo - Match and Merge two nodes coming from two different csv, and create relationship

I have a relational database and I converted tables to csv files. I imported 2 of them, and create the nodes by specifying the columns to be picked as in following code: import csv from py2neo import neo4j, authenticate, Graph, Node, cypher, rel,…
ylcnky
  • 775
  • 1
  • 10
  • 26
0
votes
0 answers

how to get all nodes in browser

I have an issue in viewing all my nodes in browser,but i can can print it in terminal.i need all my nodes to be returned in json format but i getting error 500 internal server error and printing in termianl here is my code from flask import…
gokul
  • 133
  • 1
  • 9
0
votes
1 answer

Create neo4j graph database from python using html forms

Hi i'm very new to neo4j i need to know how to create nodes and properties of graph using html forms by using py2neo and neo4j and how to add auto id's to the nodes from flask import Flask,render_template,request,url_for,json,jsonify from py2neo…
gokul
  • 133
  • 1
  • 9
0
votes
1 answer

py2neo constructing graph using cypher.builders

I am trying to build a graph in neo4j using py2neo. I am trying to achieve this using py2neo builders. The reason behind this is that I want to construct all nodes and relationships offline, then I send only one request to the neo4j server. By this…
I.el-sayed
  • 325
  • 1
  • 5
  • 18
0
votes
1 answer

py2neo insert multithreaded

I have a service that receives tasks and upon completion it Instantiate a class named SubmitPy2neo which inherits from Thread class to insert the data to my neo4j database using py2neo in python. For each task I create a seperate thread to make…
I.el-sayed
  • 325
  • 1
  • 5
  • 18