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.
Source Distribution
File details
Details for the file ipython-cypher-0.1.0.tar.gz
.
File metadata
- Download URL: ipython-cypher-0.1.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be1d78deb090043017fee3ad216f3df29b114c7b8a6b2cb587f619d53cc44ccb |
|
MD5 | ce723f12d67ba1869dfdfbafaaf56e17 |
|
BLAKE2b-256 | 072f0acba86eece1ec0f67c07478cb16d2f4c07ab82bdb8865e4a3e341ec616c |