Skip to main content

Neo4j Cypher cell magic for IPython and Pandas

Project description

Author:

Javier de la Rosa, http://versae.es

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.

Source Distribution

ipython-cypher-0.1.0.tar.gz (9.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page