{"id":14977416,"url":"https://github.com/jbn/idgraph","last_synced_at":"2026-01-18T17:02:06.249Z","repository":{"id":62570269,"uuid":"216382569","full_name":"jbn/idgraph","owner":"jbn","description":"IPython cell magic for dgraph remote interaction.","archived":false,"fork":false,"pushed_at":"2022-12-26T20:59:18.000Z","size":19,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-02T02:16:37.857Z","etag":null,"topics":["dgraph","dgraph-client","dgraph-tutorial","ipython","ipython-magic","ipython-notebook","ipython-notebooks","jupyter-notebook","juypter"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbn.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-20T15:21:20.000Z","updated_at":"2019-10-21T15:21:02.000Z","dependencies_parsed_at":"2023-01-31T01:45:53.372Z","dependency_job_id":null,"html_url":"https://github.com/jbn/idgraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jbn/idgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbn%2Fidgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbn%2Fidgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbn%2Fidgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbn%2Fidgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbn","download_url":"https://codeload.github.com/jbn/idgraph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbn%2Fidgraph/sbom","scorecard":{"id":510361,"data":{"date":"2025-08-11","repo":{"name":"github.com/jbn/idgraph","commit":"f610e72bed77de011f2a6610daa3fb45ea4caa8c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2019-217 / GHSA-462w-v97r-4m45","Warn: Project is vulnerable to: PYSEC-2014-8 / GHSA-8r7q-cvjq-x353","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: PYSEC-2014-82 / GHSA-fqh9-2qgg-h84h","Warn: Project is vulnerable to: PYSEC-2021-66 / GHSA-g3rq-g295-4j3m","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: PYSEC-2019-220 / GHSA-hj2j-77xm-mc5v","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-44cc-43rp-5947","Warn: Project is vulnerable to: PYSEC-2021-130 / GHSA-4952-p58q-6crx","Warn: Project is vulnerable to: GHSA-9q39-rmj3-p4r2","Warn: Project is vulnerable to: PYSEC-2021-437 / GHSA-5xp3-jfq3-5q8x","Warn: Project is vulnerable to: PYSEC-2023-228 / GHSA-mq26-g339-26xf","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T00:22:55.480Z","repository_id":62570269,"created_at":"2025-08-20T00:22:55.480Z","updated_at":"2025-08-20T00:22:55.480Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28543529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dgraph","dgraph-client","dgraph-tutorial","ipython","ipython-magic","ipython-notebook","ipython-notebooks","jupyter-notebook","juypter"],"created_at":"2024-09-24T13:55:37.114Z","updated_at":"2026-01-18T17:02:06.232Z","avatar_url":"https://github.com/jbn.png","language":"Jupyter Notebook","readme":"idgraph\n=======\n\n.. image:: https://img.shields.io/pypi/v/idgraph.svg\n        :target: https://pypi.python.org/pypi/idgraph\n\n.. image:: https://travis-ci.org/jbn/idgraph.svg?branch=master\n        :target: https://travis-ci.org/jbn/idgraph\n\n\nProvides IPython cell magic for `dgraph \u003chttps://dgraph.io/\u003e`__ remote\ninteraction.\n\nInstallation\n------------\n\n.. code:: bash\n\n    pip install idgraph\n\nWhy is this?\n------------\n\nWhile `dgraph \u003chttps://dgraph.io\u003e`__ provides several useful interfaces,\nI spend most of my time learning, exploring, and developing in\n`Jupyter \u003chttps://jupyter.org/\u003e`__. Executable documentation is\nfantastic! This package abstractly provides cell magic for dgraph query,\nmutation, and alteration execution. You could do the same with ``curl``\nor ``requests``. But, the sensible defaults help make things less\nverbose and tedious. (It's inspired by my experience with\n`itikz \u003chttps://github.com/jbn/itikz\u003e`__ which proved really\nbeneficial.)\n\nUsage\n-----\n\nThe easiest way to understand how this works is by following (and cloning)\nthe `tutorial notebook \u003chttps://github.com/jbn/idgraph/blob/master/tutorial.ipynb\u003e`__.\nIt's a projection dgraph's\n`Tour of Dgraph: A Bigger Dataset \u003chttps://tour.dgraph.io/moredata/1/\u003e`__.\n\nCheat Sheet\n~~~~~~~~~~~\n\nLoad the extension with,\n\n.. code::\n\n    %load_ext idgraph\n\nThen,\n\n-  By default, ``%%dgraph`` assumes a query.\n\n   -  ``%%dgraph --alter`` does an alteration\n   -  ``%%dgraph --mutate`` does a mutation\n\n-  By default, ``%%dgraph`` assumes ``localhost:8080``\n\n   -  ``%%dgraph --addr=remote-host:8080`` overrides the default\n   -  The ``DGRAPH_ADDR`` environmental variable overrides default if\n      the ``--addr`` flag isn't set\n\n-  By default, only the value associated with the ``data`` key in the\n   response is shown.\n\n   -  ``%%dgraph --full-resp`` shows the full response including\n      metadata.\n   -  ``%%dgraph --jmespath=\"query\"`` allows you to extract part of the\n      response with a `jmespath \u003chttp://jmespath.org/\u003e`__ query.\n\n-  By default, each cell execution binds the extracted response to\n   ``_dgraph`` and the full response to ``_dgraph_full``\n\n   -  ``%%dgraph --into=name`` will bind the extracted response to\n      ``name`` and the full response to ``{name}_full``\n\n-  By default, the cell contents are executed.\n\n   -  ``%%dgraph --skip`` skips execution.\n\n      -  Useful for mutations that are possibly dangerous on someone\n         else's computer.\n\n-  Jinja\n\n   -  technically you can use templates in a directory. you almost\n      certainly shouldnt though.\n\nCredits\n~~~~~~~\n\nThis package was created with\n`Cookiecutter \u003chttps://github.com/audreyr/cookiecutter\u003e`__ and the\n`audreyr/cookiecutter-pypackage \u003chttps://github.com/audreyr/cookiecutter-pypackage\u003e`__\nproject template.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbn%2Fidgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbn%2Fidgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbn%2Fidgraph/lists"}