Neo4j Cypher cell magic for IPython and Pandas
Project description
Introduces a %cypher (or %%cypher) magic for Neo4j in IPython. Inspired by Catherine Devlin’s ipython-sql.
Connect to a graph database, using neo4jrestclient driver, then issue Cypher commands within IPython or IPython Notebook. See examples.
Install
pip install ipython-cypher
Then open an IPython or IPython Notebook and load the module
%load_ext cypher
By default, it will connect to http://localhost:7474/db/data
%%cypher match (n) return id(n) as id, n.name as name skip 1 limit 3
%cypher match (n) return id(n) as id, n.name as name skip 1 limit 3
results = %cypher match (n) return id(n) as id, n.name as name skip 1 limit 3 results.dataframe()
results.pie()
More soon…
Credits
News
0.2a1
Release date: UNRELEASED
Example news entry for the in-development version
0.1
Release date: 15-Mar-2010
Example news entry for a released version
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.