{"id":18053433,"url":"https://github.com/conker84/cy2py","last_synced_at":"2025-10-15T13:35:48.083Z","repository":{"id":58640389,"uuid":"532050586","full_name":"conker84/cy2py","owner":"conker84","description":"An iPython extension that makes Neo4j more Pythonic","archived":false,"fork":false,"pushed_at":"2024-02-16T12:00:33.000Z","size":2302,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-24T06:42:45.086Z","etag":null,"topics":["neo4j","nodes-2022","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/conker84.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-02T19:14:28.000Z","updated_at":"2025-02-08T17:26:21.000Z","dependencies_parsed_at":"2025-03-27T23:41:34.278Z","dependency_job_id":null,"html_url":"https://github.com/conker84/cy2py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/conker84/cy2py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conker84%2Fcy2py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conker84%2Fcy2py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conker84%2Fcy2py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conker84%2Fcy2py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conker84","download_url":"https://codeload.github.com/conker84/cy2py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conker84%2Fcy2py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279083624,"owners_count":26099678,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["neo4j","nodes-2022","python"],"created_at":"2024-10-30T23:17:24.033Z","updated_at":"2025-10-15T13:35:48.064Z","avatar_url":"https://github.com/conker84.png","language":"Python","readme":"# cy2py: seamless Neo4j integration in Python Notebooks \n\n## Install\n\nTo install, run:\n`pip install cy2py`\n\nOr clone this repository and run:\n`python setup.py install`\n\n## How you can use it\n\nYou can use cy2py in two ways:\n\n* as a line magic, it returns a Python dataframe that you can than manipulate as you wish\n\n* as cell magic that will print a graph or dataframe if the result is tabular\n\n## Magic arguments\n\nYou can check the list of accepted arguments by running the following command:\n\n`%cypher?`\n\n```bash\n%cypher [-a ALIAS] [-u URI] [-us USERNAME] [-pw PASSWORD] [-db DATABASE]\n              [-q QUERY] [-p PARAMS] [-c CLOSE] [-co COLORS] [-ca CAPTIONS]\n              [-la LAYOUT] [-l]\n\noptional arguments:\n  -a ALIAS, --alias ALIAS\n                        The Neo4j connection configuration alias. You after\n                        you defined it the first time in combination with the\n                        other arguments you can use only it to connect to the\n                        Neo4j instance without repassing the arguments each\n                        time. If you don't specify it the first time you'll\n                        pass the config it'll became the default for each\n                        connection\n  -u URI, --uri URI     The Neo4j URI. You can use this kind of URI in order\n                        to define a specific database to query:\n                        neo4j://localhost:7687/my-db\n  -us USERNAME, --username USERNAME\n                        The Neo4j User\n  -pw PASSWORD, --password PASSWORD\n                        The Neo4j Password\n  -db DATABASE, --database DATABASE\n                        The Neo4j Database, if not provided we use the default\n  -q QUERY, --query QUERY\n                        Pass the Cypher query as argument. Valid only when you\n                        use line magic.\n  -p PARAMS, --params PARAMS\n                        A map of Cypher query parameters\n  -c CLOSE, --close CLOSE\n                        Close a Driver connection by alias or URI\n  -co COLORS, --colors COLORS\n                        A map label/color\n  -ca CAPTIONS, --captions CAPTIONS\n                        A map label/caption\n  -la LAYOUT, --layout LAYOUT\n                        A map for layout configuration\n  -l, --list            List active configurations\n```\n\n## Example\n\nUnder the examples directory you'll find a Google Colab notebook that shows how to use\ncy2py in order to dive into a Neo4j crime dataset showing also how is easy \nto seamlessly leverage other visualization libraries such as Ploty.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconker84%2Fcy2py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconker84%2Fcy2py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconker84%2Fcy2py/lists"}