Hi Monica
Unfortunately, we don't support or maintain neomodel in-house. I'm not sure
it even has a current maintainer right now, either, but you're probably
best off asking on the project's GitHub issues list. If you're after a
general purpose OGM for Python, though, I do offer this in py2neo as
Hi Ray
Do you have a snippet of code that can reproduce the warning?
Thanks
Nigel
On Mon, 18 Dec 2017, 20:53 , wrote:
> I changed py2neo Graph handle creation using bolt protocol and still saw
> this Warning message. So, the Waring is *not* caused by py2neo
> transactions.
Have you tried with a smaller batch size?
Nigel
On 2 September 2017 at 01:38, wrote:
> Our Python 3 program using version 3.1.2 py2neo on Neo4j Community Edition
> version 3.0.3. with transaction size about 4000, i.e. we do a transaction
> commit after we put 4,000 Cypher
t
> throws me the exception
> "from py2neo.ext.ogm import Store
> ImportError: No module named ogm "
> Do you know how to use the ogm extension? i'm working with python2.7 and
> py2neo
>
> Τη Δευτέρα, 15 Ιουνίου 2015 - 4:01:05 μ.μ. UTC+3, ο χρήστης Nigel Small
> έγρα
Hi
As Alan mentions, this is a side-effect of both Neo4j's type system and the
JSON format used by the HTTP server. The type system at store level has no
concept of an untyped array and JSON has no way to transmit type
information independent of value, so it's impossible for the server to
Hi Matias
It's hard to tell without seeing some code. What concurrency are you
referring to?
I do think we need to fix that error though - it's very unhelpful to a
typical application developer. Coincidentally, we're currently working on
this part of the code so I'll make sure we improve the
You won't be able to get that far. Beginning a transaction is only
permitted on a session if a transaction is not already open there. If you
try to do so, an exception will be thrown.
On 2 June 2016 at 22:23, Michael Johnson wrote:
>
> So if I get a session and then call
Hi
Py2neo has a load of documentation at py2neo.org and there is a bit of
sample code available within that. I'd suggest that you try to refine the
description of what you're trying to achieve though to be more specific.
Nigel
On 13 May 2016 at 05:35, Ashwanth D wrote:
Hi Phil
I can only assume that you are using the docs for py2neo v2 with py2neo v3.
The *merge_one* method no longer exists in v3 as you should be able to use
*merge* in all cases instead.
http://py2neo.org/v3/database.html#py2neo.database.Graph.merge
Cheers
Nige
On 15 May 2016 at 17:14, Phil
The official driver is only a Cypher driver for Bolt-enabled servers. If
you need to use HTTP or any of the other functions you mentioned, you'll
need the broader community driver.
Nigel
On 3 May 2016 at 13:31, Sriram Mohan wrote:
> I am new to Neo4J and playing around with
Hi Lucas
You should probably be using the `Node` object rather than the
`NodePointer` object. The latter only exists to support a few pieces of
older functionality and will not have access to properties or labels.
Nigel
On 30 March 2016 at 11:45, Lucas Lourenço wrote:
>
This will downgrade gracefully in the next beta release. For versions of
2.7 earlier than 2.7.9, SSL will be unavailable but the library should load
correctly.
On 5 April 2016 at 13:25, Christoph Pingel wrote:
> BTW, I could reproduce this error on my Ubuntu 12.04 Server
Batches should never be reused and a new one will need to be created for
each unit of work. Also, *run* does not spot exceptions, unlike *execute*
since it does not decode the output from the server (including exceptions).
This makes it slightly faster but it a tradeoff against using *execute*.
The *RecordList* returned from *cypher.execute* has a *columns* attribute
that contains this information:
rl = graph.cypher.execute(MERGE (a:Person) RETURN a)
rl.columns
('a',)
It looks like this has not been included in the docs though for some reason
so I'll get that added in.
On 14 August
Important note: The py2neo OGM module is old and works only with legacy
indexes, not schema indexes or any other Neo4j 2.0 concepts. Therefore, if
of type refers to labels, that's why.
You have only one OGM action in the code you've shared and this is
*store.save_unique*. If you have an entry in
Thanks Jim :-)
On 4 February 2015 at 21:59, Jim Salmons jim.salm...@softalkapple.com
wrote:
Echoing what Nigel said, I found that all I needed to do once on the
latest codebase was to import set_auth_token from core and then call it
with an authorized ID -- the route I took being that I
Hi Mahesh
I'm not a big fan of using *super*. I'm happy to admit that's probably a
failing on my part but I find the syntax confusing and certainly not in
line with readability counts! On top of that, I've not been able to get
it working for *Node* inheritance anyway...
So, you can use this
Hi Mahesh
The details for using py2neo with the new auth mechanism are here:
http://py2neo.org/2.0/essentials.html#authentication
Cheers
Nigel
On 4 February 2015 at 12:38, Mahesh Lal mahesh.2...@gmail.com wrote:
Hi Nigel,
I was wondering if py2Neo 2.0.4 supports the new auth mechanism in
Hi Axel
Great news! Do you have any specific feedback on working with 2.2? I'd be
particularly interested in your experience working with auth.
Cheers
Nigel
On 23 January 2015 at 08:28, Axel Morgner a...@morgner.de wrote:
Hi,
just wanted to let you know that there's a branch in the Structr
Looks awesome. I'll give it a spin over the next few days :-)
On 4 December 2014 at 21:20, Michael Hunger
michael.hun...@neotechnology.com wrote:
Yannis,
This is amazing, I have to still test it out, but really good work.
One thing I'd love to see is a blog post + screencast that shows the
I use Debian and Ubuntu based distros generally. Specifically, my current
preference for desktop OS is Linux Mint Debian Edition - I've leaned
slightly away from Ubuntu over the past few years. For servers, both Debian
and Ubuntu are good choices although, again, I ususally now err towards the
Following on from Michael's reply: in py2neo 1.6, you can pass parameters
like this:
query = neo4j.CypherQuery(
graph_db,
MATCH (m:Page {node:'{*n1*}'}), (n:Page {node:'{*n2*}'}),
p = shortestPath((m)-[*..20]-(n)) RETURN p
)
query.execute(*n1*=node1, *n2*=node2)
In py2neo 2.0, this
Hi Aru
Firstly, as a side note, the issue to which you link highlights a problem
with the deb/rpm packages for some versions of Neo4j. The tarballs are fine
and py2neo is definitely compatible with all versions from 1.8 upwards.
Now to your main question
Neo4j is optimised for efficient
Hi Jared
I've been considering setting up an Arch VM recently as I've been reading
very good things about it. I managed to get Neo4j working on FreeBSD the
other day so Arch should be simple in comparison :-)
Arch is set up a little differently to Debian/Ubuntu - which are our usual
go to
Hi Michael
Just read through this thread.
We probably need to make this much clearer on the ref cards. IMHO they do
seem quite misleading on the usage of map literals.
Think I might put forward some alternative wording next week to clarify.
Nige
On 4 Oct 2014 21:09, Michael Hunger
Hi
Can you provide details of what code you are running when this error is
triggered?
Cheers
Nigel
On 16 September 2014 06:11, sunyulovet...@gmail.com wrote:
Hi,
I am using neo4j 1.9.7,SDN 2.2.0.RELEASE and haproxy 1.4.24 to run the
environment. I have 6 server,1 master and 5 slavers
If you want a picture of a graph then the simplest option is to use the
browser application and take a screenshot using the PrtSc button (or
whatever your operating system's method for this is).
Nigel
On 4 Aug 2014 08:13, Pavan Kumar kumar.pavan...@gmail.com wrote:
Hello.
I want to convert
Hi Alex
You can install py2neo which contains neotool, a command line tool that
should do exactly what you're looking for.
If you have pip (python packager) installed, just run pip install py2neo
and it will be downloaded and set up.
Hope this helps
Nigel
On 2 Aug 2014 08:56, Alex winter
Thanks Aru :-)
On 30 July 2014 15:00, Aru Sahni arusa...@gmail.com wrote:
Is there any specific reason you're using bulbs/Gremlin? I'd really
recommend you check out py2neo - Nigel's done a great job with it.
That being said, here's the process I've used to build Gremlin when I was
first
for that - that you could easily
run.
On 07/15/2014 04:42 PM, Nigel Small wrote:
Familiar with the concept but have never actually used it.
On 15 July 2014 23:41, Alan Robertson al...@unix.sh wrote:
Yes. There are lots of ways to do that. After all, it's all open
source :-D
I think Michael's question was more to ask why there is value in measuring
uncached performance at all. In production, caches are typically in play
and so the performance statistics for warm caches are far more useful for
comparison purposes.
Nigel
On 14 Jul 2014 11:27, jean caca
Hi Ankur
I'm afraid that py2neo does not support spatial at this point in time. I
may consider adding it in a future version though so watch this space!
Regards
Nigel
On 25 Jun 2014 07:25, Ankur goel ankug...@gmail.com wrote:
Does Py2neo in python supports creating Geo-spatial Indexes.
If
implementation for speed and flexibility? (It appears that the Cypher
module has a method Record for capturing query results?)
Thanks,
Gareth
On Tuesday, June 17, 2014 11:04:53 PM UTC+1, Nigel Small wrote:
Hi Gareth
As you identify, there are certainly some differences in terms
Hi Gareth
As you identify, there are certainly some differences in terms of
performance and feature set that you get when working with Neo4j under
different programming languages. Depending on your background, constraints
and integration needs, you could consider a hybrid approach whereby you
Nigel Small
написал:
Bear in mind that the identifier 'n' is local to that query only and
will not automagically find the node called 'n' in the previous create
statement. You will need to match by ID or some other indexed criteria.
On 19 May 2014 17:10, Александр Богданов lanakr...@gmail.com
There are language drivers available for most major programming languages
(mine is the Python one):
http://www.neo4j.org/develop/drivers
In terms of choosing a language, Java wins if you are looking for raw
performance - although that is becoming less of an issue as Cypher
improves. It can also
RETURN n. *And after restarting Neo4j even looking
with ID unsuccessful.
понедельник, 19 мая 2014 г., 19:55:15 UTC+4 пользователь Nigel Small
написал:
You won't see any return values from your Cypher unless you include a
RETURN n clause at the end of your statement. This is probably your
We've been seeing similar (intermittent) errors for some time but as yet
have been unable to build a standalone piece of code that reliably
generates the error.
One workaround I have tried is to ensure all nodes and relationships in a
query have an explicit identifier, e.g. dummy1, dummy2 and so
/2014 03:41 PM, Nigel Small wrote:
Hi Alan
A *BadStatusLine* is generally an indication that the remote server has
disconnected, normally due to a timeout. Py2neo will usually retry when it
sees one of these but the handling isn't bullet-proof and may not work at
all under Python 2.6. I don't
Robertson al...@unix.sh wrote:
This was a clean install on CENTOS 6 under Docker. Thanks for the
explanation.
On March 22, 2014 11:40:49 AM MDT, Nigel Small ni...@nigelsmall.com
wrote:
The Record.columns attribute is accessible in both 1.6.3 and 1.6.4
identically. Documentation is limited
Hi Alan
I'm unclear as to how your code might be broken based on the 1.6.4 release.
In terms of query results, there were some internal optimisations that were
carried out to improve performance but nothing should have changed in the
public API. If you can be clearer on what you perceive has
Hi Mohan
I'm entirely self-taught computing-wise and knew nothing about graph theory
before starting to play with Neo4j almost three years ago. So don't worry
too much, you'll pick it up :-)
There are some excellent videos/slides by Jim Webber and Ian Robinson
floating around the Intertubes that
It may be that you're hitting a memory issue - I've certainly never thrown
anything that big at it. Have you tried increasing the size of your JVM?
On 25 February 2014 00:49, t.kluse...@gmail.com wrote:
Hey guys, I'm trying to import a rather large dataset in the Geoff format
into Neo4j. The
If it's any help, I've recently added a bulk delete facility to my load2neo
extension:
http://nigelsmall.com/load2neo#bulk-delete
This does a core-API-level deletion of all nodes and relationships so is
generally the fastest method available. Useful for unit tests, etc :-)
Cheers
Nige
On 6
Nice :-)
On 7 February 2014 09:57, Michael Hunger
michael.hun...@neopersistence.comwrote:
Also the in memory server that I put together a while ago is useful for
testing
https://github.com/jexp/neo4j-in-memory-server
Sent from mobile device
Am 07.02.2014 um 10:34 schrieb Nigel Small ni
Hi all
We're starting to look in more detail at the new Cypher transaction
endpoint in Neo4j 2.0. The docs state that transactions operate with write
locks http://docs.neo4j.org/chunked/stable/transactions-locking.html and
that the default isolation level is READ
:[]}
On Monday, 15 July 2013 21:48:06 UTC+2, Nigel Small wrote:
No problem. To address a number of issues, I've rebuilt the entire
HTTP/REST layer for py2neo and wrapped it up in a separate project (
https://github.com/nigelsmall/httpstream). This attempts to detect the
correct encoding
Reopened as https://github.com/neo4j/neo4j/issues/1872
On 28 January 2014 15:43, Nigel Small ni...@nigelsmall.com wrote:
They should probably be checked in unit tests within the Neo4j code base.
I'll reopen the GitHub issue.
On 28 January 2014 15:35, Georg Summer georg.sum...@gmail.com
2014 16:03:44 UTC+1, Nigel Small wrote:
Yes, looks like that to me too. Good spot. Can someone from Neo confirm?
On 28 January 2014 14:35, Georg Summer georg@gmail.com wrote:
Sorry for dragging this post up but I think Neo4j 2.0 has the same
problem on the transaction rest endpoint
You'd have to get confirmation from Josh Adell on the details but I think
that *getProperty* will be issuing a new HTTP call each time it is called.
As you have this in a loop, that will be a lot of network traffic, causing
the slowness you have observed.
For this kind of usage, you are best to
Hi Gorka
If it helps, have a look at the way I've presented the transactional
endpoint in py2neo:
https://github.com/nigelsmall/py2neo/blob/master/py2neo/cypher.py#L108
At the top level is a *Session* object that maintains the root URI for the
database then, from that, transactions can be
The load2neo plugin might help you (http://nigelsmall.com/load2neo). It
uses Geoff (http://nigelsmall.com/geoff) which can represent unique nodes.
Cheers
Nigel
On 3 January 2014 16:04, Michael Hunger
michael.hun...@neopersistence.comwrote:
How much data do you want to insert?
Am 03.01.2014
Hi Javad
I have made some adjustments to neotool (
http://book.py2neo.org/en/latest/neotool/) including a very basic shell
mode with auth support. This was specifically to help support GrapheneDB so
might be able to do what you want.
Cheers
Nigel
On 31 December 2013 17:47, Javad Karabi
53 matches
Mail list logo