Developing a web application in python with neo4j

拥有回忆 提交于 2019-12-02 18:53:43
Srikar Appalaraju

I dont see why not. You can integrate this with Django & serve requests through it...

  1. Modeling Categories in Graph Database
  2. Neo4J shop categories example
  3. Neo4j and django models
  4. Django & Neo4j - domain modeling that kicks ass.
  5. Seamless Django & Neo4j integration

Hope this helps... I myself was able to integrate almost entire IMDB into Neo4j & serve it up through Django.

Check this neo4j python library https://github.com/versae/neo4j-rest-client out. It uses rest api of neo4j. If you are not planning to use the REST API, you may consider Jython implementation which will directly connect to the database. I heard that some hackers implementing neo4j backend for django. But I think it is not mature enough to develop web site.

You may still need some sql database like sqlite if you plan to use some Django Features like authentication. But, if you just want to build your recommendation engine, you can use Django with no-database. And, you build your backend in python using neo4j without worrying first about Django which could integrates with it a priori seamlessly.

Links for neo4j and python:

[Installation] http://docs.neo4j.org/chunked/snapshot/python-embedded.html

[Usage] http://docs.neo4j.org/chunked/snapshot/tutorials-python-embedded.html

Matt Luongo

We've updated the old Django integration to use neo4j-rest-client- it's called neo4django. We've made some major improvements over the old integration, and are using it successfully to build Scholrly. It's not quite in production, but it's something.

The library allows model definition, query sets with automated indexing, and works alongside a relational database- so you can still use contrib modules based on the standard ORM.

I've posted a bit about it elsewhere on StackOverflow if you're interested!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!