Gaurav
Gaurav

Reputation: 21

Graph DB with Django?

I have not come across many people who have used a Graph DB(such as a Neo4j) with Django. Even though there exist ORMs such as Neo4Django, I am not too happy with these solutions as they are potentially buggy and have very late development cycle. What do you suggests are best solutions?

Upvotes: 2

Views: 1270

Answers (2)

Mubeen Siddiqui
Mubeen Siddiqui

Reputation: 34

For integrating Neo4j with Django, use Django's ORM for PostgreSQL and Neo4j's official Python driver (py2neo) for graph data. Write custom synchronization code between them for better control and reliability.

Upvotes: 0

Shadi
Shadi

Reputation: 10335

As of today, neo4django's latest commit is in July 2014. There seems to be bulbflow which mentions that it can be used from django. Its github link on their homepage is a broken URL. The only project I found linking bulbflow to django is https://github.com/theonion/django-bulbs , but it has a deprecation note to a broken URL. I just filed issue #338 requesting if they can provide a fixed link, and the developer clarified that it has been converted into a private repository.

This SO answer sheds some light and points mainly at py2neo. In the same SO question, there is another answer stating that django was designed with RDBMS in mind.

For alternatives to django as a web framework with neo4j as backend, this SO thread seems to be quite rich with options.

Funny enough, more search through duckduckgo.com led me to this blog post which is like a hello world example of using neo4j. It mentions neomodel (last commit 19 days ago), which links to django-neomodel (last commit 6 months ago).

Upvotes: 2

Related Questions