{"id":13508761,"url":"https://github.com/mneudert/caylir","last_synced_at":"2025-04-10T04:58:37.488Z","repository":{"id":21496675,"uuid":"24815596","full_name":"mneudert/caylir","owner":"mneudert","description":"Cayley driver for Elixir","archived":false,"fork":false,"pushed_at":"2025-03-23T08:35:44.000Z","size":548,"stargazers_count":22,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T01:11:10.799Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mneudert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-10-05T12:51:46.000Z","updated_at":"2025-03-23T08:35:48.000Z","dependencies_parsed_at":"2023-02-18T16:15:49.680Z","dependency_job_id":"ffdae431-dbd1-4b9b-86f5-2786e4a4b15e","html_url":"https://github.com/mneudert/caylir","commit_stats":{"total_commits":438,"total_committers":3,"mean_commits":146.0,"dds":0.006849315068493178,"last_synced_commit":"4b59c78eea071b19cdfb6b6cfa7302911ed69464"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mneudert%2Fcaylir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mneudert%2Fcaylir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mneudert%2Fcaylir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mneudert%2Fcaylir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mneudert","download_url":"https://codeload.github.com/mneudert/caylir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161265,"owners_count":21057554,"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-01T02:00:58.066Z","updated_at":"2025-04-10T04:58:37.469Z","avatar_url":"https://github.com/mneudert.png","language":"Elixir","funding_links":[],"categories":["ORM and Datamapping"],"sub_categories":[],"readme":"# Caylir\n\nCayley driver for Elixir\n\n## Cayley Support\n\nTested Cayley versions:\n\n- `0.7.3`\n- `0.7.4`\n- `0.7.5`\n- `0.7.6`\n\n## Package Setup\n\nTo use Caylir with your projects, edit your `mix.exs` file and add the required dependencies:\n\n```elixir\ndefp deps do\n  [\n    # ...\n    {:caylir, \"~\u003e 1.0\"},\n    # ...\n  ]\nend\n```\n\n## Application Setup\n\n### Graph Definition\n\nDefining a graph connection requires defining a module:\n\n```elixir\ndefmodule MyGraph do\n  use Caylir.Graph, otp_app: :my_app\nend\n```\n\nThis defined graph module needs to be hooked up into your supervision tree:\n\n```elixir\nchildren = [\n  # ...\n  MyGraph,\n  # ...\n]\n```\n\nFor a more detailed explanation of how to get started with a graph please consult the inline documentation of the `Caylir.Graph` module.\n\nTo configure your connection you can use the application environment:\n\n```elixir\nconfig :my_app, MyGraph,\n  host: \"cayley.host\",\n  port: 42160,\n  scheme: \"https\"\n```\n\nThe entry should match the chosen `:otp_app` and module name defined earlier.\n\nFor more information on how (and what) to configure please refer to the inline documentation of the `Caylir.Graph.Config` module.\n\n## Usage\n\nQuerying data:\n\n```elixir\nMyGraph.query(\"graph.Vertex('graph').Out('connection').All()\")\n```\n\nWriting Data:\n\n```elixir\nMyGraph.write(%{\n  subject: \"graph\",\n  predicate: \"connection\",\n  object: \"target\"\n})\n```\n\nDeleting Data:\n\n```elixir\nMyGraph.delete(%{\n  subject: \"graph\",\n  predicate: \"connection\",\n  object: \"target\"\n})\n```\n\nA more detailed usage documentation can be found inline at the `Caylir.Graph` module.\n\n## License\n\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmneudert%2Fcaylir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmneudert%2Fcaylir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmneudert%2Fcaylir/lists"}