Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lebedov/icypher
Cypher access to Neo4J via IPython
https://github.com/lebedov/icypher
cypher-query-language ipython neo4jclient py2neo python
Last synced: 13 days ago
JSON representation
Cypher access to Neo4J via IPython
- Host: GitHub
- URL: https://github.com/lebedov/icypher
- Owner: lebedov
- License: other
- Created: 2014-08-24T15:55:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T04:43:19.000Z (about 3 years ago)
- Last Synced: 2024-10-03T08:18:17.213Z (about 1 month ago)
- Topics: cypher-query-language, ipython, neo4jclient, py2neo, python
- Language: Python
- Size: 39.1 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.rst
Awesome Lists containing this project
README
.. -*- rst -*-
.. image:: https://raw.githubusercontent.com/lebedov/icypher/master/icypher.png
:alt: icypherPackage Description
-------------------
ICypher is an IPython extension for running Cypher queries against a `Neo4j
`_ graph database within IPython... image:: https://img.shields.io/pypi/v/icypher.svg
:target: https://pypi.python.org/pypi/icypher
:alt: Latest Version
.. .. image:: https://img.shields.io/pypi/dm/icypher.svg
.. :target: https://pypi.python.org/pypi/icypher
.. :alt: DownloadsInstallation
------------
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:passwdSet 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 nCreate 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.