horriblyUnpythonic
horriblyUnpythonic

Reputation: 853

Python with neo4j 2.x

Are there any python libraries that are meant to work with neo4j 2.x?

I would like to use an ORM (OGM?) with python, but all the ones I have tried don't support labels, they create a node and relationship to the object type.

Are there any packages currently (or in the works) that will support the 2.x style labels? Or am I missing some functionality in the current ORM packages? (neo4django, neomodel, neo4py)

Django support would be a plus, but not a requirement.

Edit:

I have had success with neo4jrestclient as a way to manipulate nodes/relationships/labels, but I am looking for a way to set up types of nodes easily with specific fields and properties/rules for combining those nodes in specific ways.

Upvotes: 0

Views: 142

Answers (1)

thorben.jakobsen
thorben.jakobsen

Reputation: 145

neomodel has a neo4j 2.x development branch (https://github.com/robinedwards/neomodel/tree/feature_neo4j_2_0). It is very much a work in progress at this point and I had to tweak some of the code to get it to properly handle relationships in neo4j 2.1.2 but even in its current state I find it easier to use than the OGM provided by py2neo.

Upvotes: 1

Related Questions