Skip to main content

Neo4j Cypher cell magic for IPython and Pandas

Project description

Author: Javier de la Rosa,

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.


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, as name skip 1 limit 3

%cypher match (n) return id(n) as id, as name skip 1 limit 3

results = %cypher match (n) return id(n) as id, as name skip 1 limit 3 results.dataframe()


More soon…


Release date: UNRELEASED

  • Example news entry for the in-development version


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.

Files for ipython-cypher, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size ipython-cypher-0.1.0.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page