{"id":24738608,"url":"https://github.com/zweifisch/ob-cypher","last_synced_at":"2025-03-22T18:42:46.473Z","repository":{"id":27020147,"uuid":"30484591","full_name":"zweifisch/ob-cypher","owner":"zweifisch","description":"query neo4j using cypher in org-mode blocks","archived":false,"fork":false,"pushed_at":"2021-02-19T15:51:06.000Z","size":17,"stargazers_count":23,"open_issues_count":1,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-17T21:09:17.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zweifisch.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-08T07:49:13.000Z","updated_at":"2024-12-10T05:24:36.000Z","dependencies_parsed_at":"2022-09-01T02:22:58.045Z","dependency_job_id":null,"html_url":"https://github.com/zweifisch/ob-cypher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zweifisch%2Fob-cypher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zweifisch%2Fob-cypher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zweifisch%2Fob-cypher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zweifisch%2Fob-cypher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zweifisch","download_url":"https://codeload.github.com/zweifisch/ob-cypher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245006589,"owners_count":20546136,"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":"2025-01-27T22:55:01.117Z","updated_at":"2025-03-22T18:42:46.436Z","avatar_url":"https://github.com/zweifisch.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"* ob-cypher\n\n[[http://melpa.org/#/ob-cypher][file:http://melpa.org/packages/ob-cypher-badge.svg]]\n\nquery neo4j using cypher in org-mode blocks\n\n** install\n\n#+begin_src emacs-lisp\n(use-package ob-cypher\n  :ensure t\n  :config\n  (add-to-list 'org-babel-load-languages '(cypher . t))\n  (org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages)\n  (add-to-list 'org-babel-tangle-lang-exts '(\"cypher\" . \"cypher\")))\n#+end_src\n\n** options\n\n| option       | example                                      |\n|--------------+----------------------------------------------|\n| =:host=      | =127.0.0.1=                                  |\n| =:port=      | =1337=                                       |\n| =:http-port= | =7474=                                       |\n| =:username=  | =\"neo4j\"=                                    |\n| =:password=  | =\"neo4j\"=                                    |\n| =:file=      | requires curl and graphviz =:file graph.png= |\n\n** examples\n\n: #+BEGIN_SRC cypher\n: CREATE (matrix1:Movie { title : 'The Matrix', year : '1999-03-31' })\n: CREATE (matrix2:Movie { title : 'The Matrix Reloaded', year : '2003-05-07' })\n: CREATE (matrix3:Movie { title : 'The Matrix Revolutions', year : '2003-10-27' })\n: CREATE (keanu:Actor { name:'Keanu Reeves' })\n: CREATE (laurence:Actor { name:'Laurence Fishburne' })\n: CREATE (carrieanne:Actor { name:'Carrie-Anne Moss' })\n: CREATE (keanu)-[:ACTS_IN { role : 'Neo' }]-\u003e(matrix1)\n: CREATE (keanu)-[:ACTS_IN { role : 'Neo' }]-\u003e(matrix2)\n: CREATE (keanu)-[:ACTS_IN { role : 'Neo' }]-\u003e(matrix3)\n: CREATE (laurence)-[:ACTS_IN { role : 'Morpheus' }]-\u003e(matrix1)\n: CREATE (laurence)-[:ACTS_IN { role : 'Morpheus' }]-\u003e(matrix2)\n: CREATE (laurence)-[:ACTS_IN { role : 'Morpheus' }]-\u003e(matrix3)\n: CREATE (carrieanne)-[:ACTS_IN { role : 'Trinity' }]-\u003e(matrix1)\n: CREATE (carrieanne)-[:ACTS_IN { role : 'Trinity' }]-\u003e(matrix2)\n: CREATE (carrieanne)-[:ACTS_IN { role : 'Trinity' }]-\u003e(matrix3)\n: #+END_SRC\n\n: #+RESULTS:\n: : +-------------------+\n: : | No data returned. |\n: : +-------------------+\n: : Nodes created: 6\n: : Relationships created: 9\n: : Properties set: 18\n: : Labels added: 6\n: : 1353 ms\n\n: #+BEGIN_SRC cypher :file movie.png\n: match (actor)-[r:ACTS_IN]-\u003e(movie)\n: return *\n: #+END_SRC\n\n: #+RESULTS:\n\n[[http://i.imgur.com/dpCyOo5.png]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzweifisch%2Fob-cypher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzweifisch%2Fob-cypher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzweifisch%2Fob-cypher/lists"}