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 details)

Uploaded Source

File details

Details for the file ipython-cypher-0.1.0.tar.gz.

File metadata

File hashes

Hashes for ipython-cypher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 be1d78deb090043017fee3ad216f3df29b114c7b8a6b2cb587f619d53cc44ccb
MD5 ce723f12d67ba1869dfdfbafaaf56e17
BLAKE2b-256 072f0acba86eece1ec0f67c07478cb16d2f4c07ab82bdb8865e4a3e341ec616c

See more details on using hashes here.

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