{"id":13421806,"url":"https://github.com/jupyterlab-contrib/jupyterlab-variableInspector","last_synced_at":"2025-03-15T10:31:23.604Z","repository":{"id":37548156,"uuid":"137253934","full_name":"jupyterlab-contrib/jupyterlab-variableInspector","owner":"jupyterlab-contrib","description":"Variable Inspector extension for Jupyterlab","archived":false,"fork":false,"pushed_at":"2024-10-15T18:09:45.000Z","size":3064,"stargazers_count":1112,"open_issues_count":54,"forks_count":97,"subscribers_count":25,"default_branch":"main","last_synced_at":"2024-10-29T15:19:18.710Z","etag":null,"topics":["jupyterlab","jupyterlab-extension","jupyterlab-variableinspector","variable-inspector"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jupyterlab-contrib.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":"2018-06-13T18:16:02.000Z","updated_at":"2024-10-29T10:52:19.000Z","dependencies_parsed_at":"2023-09-26T17:26:47.591Z","dependency_job_id":"7cb87f9c-5ddf-4dcf-bc87-fc17e110f52f","html_url":"https://github.com/jupyterlab-contrib/jupyterlab-variableInspector","commit_stats":{"total_commits":188,"total_committers":25,"mean_commits":7.52,"dds":0.5638297872340425,"last_synced_commit":"ab68f8d1a47f9a24aa1da3c25c571738536cdac0"},"previous_names":["lckr/jupyterlab-variableinspector"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab-contrib%2Fjupyterlab-variableInspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab-contrib%2Fjupyterlab-variableInspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab-contrib%2Fjupyterlab-variableInspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab-contrib%2Fjupyterlab-variableInspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jupyterlab-contrib","download_url":"https://codeload.github.com/jupyterlab-contrib/jupyterlab-variableInspector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719001,"owners_count":20336591,"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":["jupyterlab","jupyterlab-extension","jupyterlab-variableinspector","variable-inspector"],"created_at":"2024-07-30T23:00:30.287Z","updated_at":"2025-03-15T10:31:23.581Z","avatar_url":"https://github.com/jupyterlab-contrib.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized","JupyterLab Extensions"],"sub_categories":["Uncategorized"],"readme":"# jupyterlab_variableinspector\n\n[![Extension status](https://img.shields.io/badge/status-ready-success 'ready to be used')](https://jupyterlab-contrib.github.io/)\n![PyPi_Version](https://img.shields.io/pypi/v/lckr-jupyterlab-variableinspector)\n![Build](https://github.com/jupyterlab-contrib/jupyterlab-variableInspector/workflows/Build/badge.svg)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupyterlab-contrib/jupyterlab-variableInspector.git/master?urlpath=lab)\n\nJupyterlab extension that shows currently used variables and their values.  \nContributions in any form are welcome!\n\n## Features\n\n![Demogif](early_demo.gif)\n\n- Allows inspection of variables for both consoles and notebooks.\n- Allows inspection of matrices in a datagrid-viewer. This might not work for large matrices.\n- Allows an inline and interactive inspection of Jupyter Widgets.\n\n### Supported Languages\n\n- This extension is currently targets `python` as a main language but also supports the following languages with different levels of feature completeness\n  - `R`\n  - `scala` via the [almond kernel](https://github.com/almond-sh/almond)\n\n### How it Works\n\nIn order to allow variable inspection, all content that is displayed first need to be sent from the kernel to the front end.  \nTherefore, opening large data frames with the datagrid viewer can dramatically increase your occupied memory and _significantly slow down_ your browser.  \nUse at your own risk.\n\n## Requirements\n\n- JupyterLab \u003e= 3.0\n\n### Requirements for `python` functionality\n\n- `pandas` and `numpy` are required to enable matrix inspection.\n- `pyspark` for spark support.\n- `tensorflow` and `keras` to allow inspection of tf objects.\n- `torch` for PyTorch support.\n\n### Requirements for `R` functionality\n\n- The `repr` library.\n\n### Requirements for `ipywidgets` functionality\n\nThe variable inspector can also display Jupyter interactive widgets:\n\n![ipywidgets](./ipywidgets.png)\n\nThe requirements for this functionality are:\n\n- `ipywidgets`, which can be installed with `pip install ipywidgets`.\n\n## Install\n\nTo install the extension, execute:\n\n```bash\npip install lckr_jupyterlab_variableinspector\n```\n\n## Uninstall\n\nTo remove the extension, execute:\n\n```bash\npip uninstall lckr_jupyterlab_variableinspector\n```\n\n## Contributing\n\n### Development install\n\nNote: You will need NodeJS to build the extension package.\n\nThe `jlpm` command is JupyterLab's pinned version of\n[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use\n`yarn` or `npm` in lieu of `jlpm` below.\n\n```bash\n# Clone the repo to your local environment\n# Change directory to the lckr_jupyterlab_variableinspector directory\n# Install package in development mode\npip install -e \".\"\n# Link your development version of the extension with JupyterLab\njupyter labextension develop . --overwrite\n# Rebuild extension Typescript source after making changes\njlpm build\n```\n\nYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.\n\n```bash\n# Watch the source directory in one terminal, automatically rebuilding when needed\njlpm watch\n# Run JupyterLab in another terminal\njupyter lab\n```\n\nWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).\n\nBy default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:\n\n```bash\njupyter lab build --minimize=False\n```\n\n### Development uninstall\n\n```bash\npip uninstall lckr_jupyterlab_variableinspector\n```\n\nIn development mode, you will also need to remove the symlink created by `jupyter labextension develop`\ncommand. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`\nfolder is located. Then you can remove the symlink named `@lckr/jupyterlab_variableinspector` within that folder.\n\n### Testing the extension\n\n#### Frontend tests\n\nThis extension is using [Jest](https://jestjs.io/) for JavaScript code testing.\n\nTo execute them, execute:\n\n```sh\njlpm\njlpm test\n```\n\n#### Integration tests\n\nThis extension uses [Playwright](https://playwright.dev/docs/intro) for the integration tests (aka user level tests).\nMore precisely, the JupyterLab helper [Galata](https://github.com/jupyterlab/jupyterlab/tree/master/galata) is used to handle testing the extension in JupyterLab.\n\nMore information are provided within the [ui-tests](./ui-tests/README.md) README.\n\n### Packaging the extension\n\nSee [RELEASE](RELEASE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyterlab-contrib%2Fjupyterlab-variableInspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjupyterlab-contrib%2Fjupyterlab-variableInspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyterlab-contrib%2Fjupyterlab-variableInspector/lists"}