{"id":13557600,"url":"https://github.com/versae/ipython-cypher","last_synced_at":"2025-04-12T20:33:09.402Z","repository":{"id":22458207,"uuid":"25796784","full_name":"versae/ipython-cypher","owner":"versae","description":"Jupyter Notebook (IPython) Neo4j Cypher cell magic","archived":false,"fork":false,"pushed_at":"2018-03-26T06:41:15.000Z","size":410,"stargazers_count":49,"open_issues_count":2,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-31T15:47:23.890Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ipython-cypher.readthedocs.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/versae.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-27T00:30:29.000Z","updated_at":"2022-09-18T02:39:50.000Z","dependencies_parsed_at":"2022-08-20T14:50:27.945Z","dependency_job_id":null,"html_url":"https://github.com/versae/ipython-cypher","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versae%2Fipython-cypher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versae%2Fipython-cypher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versae%2Fipython-cypher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versae%2Fipython-cypher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/versae","download_url":"https://codeload.github.com/versae/ipython-cypher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223546010,"owners_count":17163002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:04:26.542Z","updated_at":"2024-11-07T16:03:29.070Z","avatar_url":"https://github.com/versae.png","language":"Python","funding_links":[],"categories":["Python","others"],"sub_categories":[],"readme":"==============\nipython-cypher\n==============\n\n:Author: Javier de la Rosa, http://versae.es\n\nIntroduces a ``%cypher`` (and ``%%cypher``) magic for Neo4j in IPython.\nInspired by Catherine Devlin's ipython-sql_.\n\nConnect to a graph database, using ``neo4jrestclient_`` driver, then issue Cypher\ncommands within IPython or IPython Notebook. See examples_.\n\nInstall\n-------\nAs easy as usual::\n\n    pip install ipython-cypher\n\nUsage\n-----\n\nInside IPython, load the extension::\n\n    %load_ext cypher\n\nAnd then you are reay to go by using the ``%cypher`` line magic::\n\n    %cypher MATCH (a)-[]-(b) RETURN a, b\n\nSome Cypher queries can be very long, in those cases the the cell magic,\n``%%cypher`` comes in handy::\n\n    %%cypher\n    create\n        // Nodes\n        (Neo:Crew {name:'Neo'}),\n        (Morpheus:Crew {name: 'Morpheus'}),\n        (Trinity:Crew {name: 'Trinity'}),\n        // Relationships\n        (Neo)-[:KNOWS]-\u003e(Morpheus),\n        (Neo)-[:LOVES]-\u003e(Trinity),\n\nNote that by default ``ipython-cypher`` will connect to ``http://localhost:7474/db/data``.\n\nQueries results can be stored in a variable and then converted to a Pandas\n``DataFrame``::\n\n    results = %cypher MATCH (a)-[]-(b) RETURN a, b\n    results.get_dataframe()\n\nOr to a NetworkX ``MultiDiGraph``::\n\n    results.get_graph()\n\nFor more detailed descriptions, please visit the official documentation_.\n\n\n.. _examples: http://nbviewer.ipython.org/github/versae/ipython-cypher/blob/master/docs/examples.ipynb\n.. _neo4jrestclient: https://pypi.python.org/pypi/neo4jrestclient\n.. _documentation: http://ipython-cypher.readthedocs.org/en/latest/\n.. _ipython-sql: https://github.com/catherinedevlin/ipython-sql\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversae%2Fipython-cypher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fversae%2Fipython-cypher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversae%2Fipython-cypher/lists"}