Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Cypher access to Neo4J via IPython

Project description

Package Description

ICypher is an IPython extension for running Cypher queries against a Neo4J graph database within IPython.

Latest Version

Installation

The package may be installed as follows:

pip install icypher

After installation, the extension may be loaded within an IPython session with

%load_ext icypher

Usage Examples

Use default URI http://localhost:7474/db/data:

%cypher

Set name and password, but use default URI:

%cypher user:passwd

Set database URI with name and password:

%cypher http://user:passwd@localhost:7474/db/data

Set database URI and return all nodes:

%%cypher http://localhost:7474/db/data
MATCH (n) RETURN n

Create a node using the most recently configured database (or the default if none was specified:

%cypher CREATE (n {name: 'foo'}) RETURN n

Retrieve properties of several nodes:

results = %cypher MATCH (n) RETURN n
print([result.n.properties for result in results])

Development

The latest release of the package may be obtained from GitHub.

Author

See the included AUTHORS.rst file for more information.

License

This software is licensed under the BSD License. See the included LICENSE.rst file for more information.

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 icypher, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size icypher-0.1.6-py2.py3-none-any.whl (5.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size icypher-0.1.6.tar.gz (21.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page