{"id":27850,"library":"graph-notebook","title":"Graph Notebook","description":"A Jupyter notebook extension for connecting to graph databases such as Amazon Neptune and JanusGraph. Version 5.2.0 provides magic commands and visualizations for SPARQL and Gremlin queries. Released monthly.","status":"active","version":"5.2.0","language":"python","source_language":"en","source_url":"https://github.com/graph-notebook/graph-notebook","tags":["jupyter","neptune","gremlin","sparql","graph-database"],"install":[{"cmd":"pip install graph-notebook","lang":"bash","label":"PyPI install"},{"cmd":"pip install graph-notebook[neptune]","lang":"bash","label":"With Neptune extras"}],"dependencies":[{"reason":"Required for Gremlin connections to Neptune","package":"neptune-python-utils","optional":true},{"reason":"Required for SPARQL queries","package":"SPARQLWrapper","optional":false}],"imports":[{"note":"Old import path moved in v4.0","wrong":"from graph_notebook import generate_config","symbol":"GraphNotebookConfig","correct":"from graph_notebook.configuration.generate_config import generate_config"}],"quickstart":{"code":"from graph_notebook.configuration.generate_config import generate_config\nfrom graph_notebook.neptune.client import NeptuneClient\nconfig = generate_config('neptune', host=os.environ.get('NEPTUNE_HOST', ''), port=8182, use_iam=False)\nclient = NeptuneClient(config)\nprint(client.status())\n","lang":"python","description":"Initialize a Neptune client and fetch status."},"warnings":[{"fix":"Use graph-notebook 4.x for JupyterLab 3 or upgrade to JupyterLab 4.","message":"JupyterLab 4 migration: graph-notebook 5.x only supports JupyterLab 4; upgrade if using Lab 3.","severity":"breaking","affected_versions":">=5.0.0"},{"fix":"Use the Python API (GraphNotebookClient) instead of magic commands in scripts.","message":"Magic commands (%gremlin, %sparql) only work in notebook cells, not in scripts. Using them in plain Python files will cause SyntaxError.","severity":"gotcha","affected_versions":"all"},{"fix":"Use generate_config function and GraphNotebookConfig class.","message":"Deprecated: `from graph_notebook import GraphNotebookConfig` removed in v4.0. Use `from graph_notebook.configuration.generate_config import generate_config`.","severity":"deprecated","affected_versions":">=4.0.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run `pip install graph-notebook` in the correct Python environment.","cause":"Environment not activated or package not installed.","error":"ModuleNotFoundError: No module named 'graph_notebook'"},{"fix":"Install with --user flag: `pip install --user graph-notebook` or use a virtual environment.","cause":"Installing as root without write permissions.","error":"PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter/nbextensions'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}