Skip to main content

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.

Source Distribution

icypher-0.1.6.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

icypher-0.1.6-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file icypher-0.1.6.tar.gz.

File metadata

  • Download URL: icypher-0.1.6.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for icypher-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f1e97f1b6f082c914af5d9f62980ae776427b3fcbc61a4edd15028d60e025db4
MD5 2163b0740589d2a9a3ba46728cf1235d
BLAKE2b-256 4bde644f00678d22f107048fbcf7131cfd5b3003eb1c560da5ffd7ac2aafb7fc

See more details on using hashes here.

File details

Details for the file icypher-0.1.6-py2.py3-none-any.whl.

File metadata

  • Download URL: icypher-0.1.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for icypher-0.1.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 acffcb01113aa8ce49ea3b69411d4a1be8b8b9d4c96176563fb52b7f15ef013e
MD5 3a0c2dd692c0eb73606db6a1ccc0699f
BLAKE2b-256 61e1a76072ae6b4768360080155e20a516d480a95c7d3e286e3354c9535bfdb3

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page