Here we see how Neo4j and Python can work together to build some simple applications


A guest post from Nigel Small, whose current areas of interest include Python, JavaScript, PostgreSQL, Neo4j and Linux. He has also founded a number of open source projects, most significantly py2neo, and is an active blogger, speaker and Neo4j community member who can be reached at @technige.

Neo4j began life in the object-oriented, caffeine-laden world of Java, designed as a data store to be directly embedded within applications built upon the Java platform. Since then, support for other languages and platforms has been introduced and the Neo4j community has continued to grow more and more technology agnostic. Bindings now exist for .NET, Ruby, Python, Node.js and PHP, among others. So, no matter what the project, there’s no excuse for not diving into Neo4j.

This article focuses on Python — a language whose philosophy is considerably different from that of Java — and shows how the Py2neo library can be used to build a simple application.

A quick REST

But first, a few basics. None of the foreign language bindings could exist for Neo4j without its server API. This interface exposes a set of RESTful web services with a JSON-based message format and a comprehensive discovery mechanism. The quickest and easiest way to see this interface in action is by using cURL:

Read the Full Article Here.