Home

Recent
Archive

Numerical experiments, Tips, Tricks and Gotchas

Numerically speaking

Neo4j and Python

1. Introduction

Neo4j is an open-source graph database implemented in Java [1].

"Neo4j - a Graph Database that Kicks Buttox" - a nice review by Todd Hoffe [2].
"Neo4j - an Embedded, Network Database" - another review by Gavin Terrill [3].

 

2. Neo4j and Python

This guide provides an overview of how to connect to Neo4j from Python: [4]. The Py2neo 2.0 Handbook [5].

Introduction tutorial "Getting Started with Neo4j and Python" by Marco Bonzanini [6].

Getting Started with Neo4j in Python - two-part tutorial from Altviz: Part 1 [6], Part 2 [6].

 

3. Applications, frameworks

A Neo4j-powered version of this microblog application that uses py2neo, one of Neo4j's Python drivers, to build social aspects into the application Neo4j-flask, post: [9], tutorial: [10] and code [11], video: [12].

Creating a graph application with Python, Neo4j, Gephi & Linkurious.js [13].

Content recommendation from links shared on Twitter using Neo4j and Python [14].

neo4django is an object-graph mapper that let's you use familiar Django model definitions and queries against the Neo4j graph database [15], [16].

Neo4j and Django tutorial by Johan Lundberg [17].

bulbflow, a Python framework for the graph era [18]. Bulbs Quickstart tutorial [19]. Bulbs works with any Python Web framework, including Django, Flask, and Pyramid.

 

4. Tools

Ipython-cypher is an IPython extension that provides %cypher and %%cypher magic for cells and lines, respectively. When executed through ipython-cypher, Cypher queries can be returned as a Pandas DataFrame, a NetworkX MultiDiGraph, or plotted using matplotlib: [20].

Gephi [21] is the leading visualization and exploration software for all kinds of graphs and networks. Gephi is open-source and free. It runs on Windows, Mac OS X and Linux.

 

References

  1. Neo4j website
  2. Todd Hoffe, Neo4j - a Graph Database that Kicks Buttox
  3. Gavin Terrill, Neo4j - an Embedded, Network Database
  4. Using Neo4j from Python
  5. The Py2neo 2.0 Handbook
  6. Marco Bonzanini, Getting Started with Neo4j and Python
  7. Richie Barter, Getting Started with NEO4J in Python, Part 1
  8. Richie Barter, Getting Started with NEO4J in Python, Part 2
  9. Nicole White, Building a Python Web Application Using Flask and Neo4j
  10. Nicole White, A microblog application powered by Flask and Neo4j
  11. Nicole White, neo4j-flask
  12. Nicole White, Building a Python Web Application Using Flask and Neo4j (video)
  13. Greg Roberts, Creating a graph application with Python, Neo4j, Gephi & Linkurious.js
  14. William Lyon, Content Recommendation From Links Shared on Twitter Using Neo4j and Python
  15. Scholrly, neo4django
  16. Scholrly, neo4django documentation
  17. Johan Lundberg, Neo4j and Django tutorial
  18. A Python framework for the graph era
  19. Bulbs Quickstart tutorial
  20. IPython Cypher Extension
  21. gephi.org, Gephi. The Open Graph Viz Platform

 

© Nikolai Shokhirev, 2012-2017

email: nikolai(dot)shokhirev(at)gmail(dot)com

Count: