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.1.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

icypher-0.1.6.1-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.1.tar.gz.

File metadata

  • Download URL: icypher-0.1.6.1.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for icypher-0.1.6.1.tar.gz
Algorithm Hash digest
SHA256 71e6fb1ed4aefc5ca57a98a7e192a888b9717cc90ac6c16ab6a9b7ecabd50097
MD5 277ca7c18615f7ebb3cee14f9cf71584
BLAKE2b-256 2756ad303bd81ebcfe29b3af692221f6bd50d844cf7c0a32d9e8e36bc84cd369

See more details on using hashes here.

File details

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

File metadata

  • Download URL: icypher-0.1.6.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for icypher-0.1.6.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fe25f45f8c62423d777fd27ac2acff8b6483a10bacde828e8fa26670a59eee13
MD5 5cafe864f7a54fdd80a642059d0a1f3f
BLAKE2b-256 b5e1b829d04936f117a53b850e9fe5df4a993baa4bc3807f7626b14613769477

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