{"id":25860765,"url":"https://github.com/mljar/variable-inspector","last_synced_at":"2025-03-01T22:57:34.310Z","repository":{"id":278393641,"uuid":"920612709","full_name":"mljar/variable-inspector","owner":"mljar","description":"Explore variables in Jupyter notebooks","archived":false,"fork":false,"pushed_at":"2025-02-28T14:17:14.000Z","size":1189,"stargazers_count":10,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T16:42:18.477Z","etag":null,"topics":["data-science","jupyter","jupyterlab","jupyterlab-extension","mljar","python"],"latest_commit_sha":null,"homepage":"https://mljar.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mljar.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2025-01-22T13:17:55.000Z","updated_at":"2025-02-28T14:17:17.000Z","dependencies_parsed_at":"2025-02-19T14:51:10.603Z","dependency_job_id":"e6162345-2946-42f8-838f-a041077773f9","html_url":"https://github.com/mljar/variable-inspector","commit_stats":null,"previous_names":["mljar/variable-inspector"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljar%2Fvariable-inspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljar%2Fvariable-inspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljar%2Fvariable-inspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljar%2Fvariable-inspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mljar","download_url":"https://codeload.github.com/mljar/variable-inspector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241435139,"owners_count":19962402,"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":["data-science","jupyter","jupyterlab","jupyterlab-extension","mljar","python"],"created_at":"2025-03-01T22:57:33.715Z","updated_at":"2025-03-01T22:57:34.279Z","avatar_url":"https://github.com/mljar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/mljar/variable-inspector/blob/main/media/jupyter-variable-inspector-banner.jpg?raw=true\" alt=\"Jupyter Variable Inspector banner\"/\u003e\n\u003c/p\u003e\n\n# Jupyter Variable Inspector\n\nThe Variable Inspector is a Jupyter Lab extension designed to help you manage and track variables within your notebook. It displays all your variables in one convenient location, allowing you to see their names, values, types, shapes, and sizes in real-time. This feature makes it easier to work without the need to manually print or check your variables. **It is for Python only.**.\n\nInstall the extension using `pip` by following the instructions below. It’s also available in our desktop app, [MLJAR Studio](https://mljar.com), which is designed to make Python easier for beginners. \n\n## Features\n\n### Display variables\n\nExplore all available variables in the current notebook as a list. \n\n\u003cimg src=\"https://github.com/mljar/variable-inspector/blob/main/media/jupyter-variable-inspector.gif?raw=true\" alt=\"Jupyter Variable Inspector displays variables\"/\u003e\n\n\n### Display DataFrames\n\nYou can preview the DataFrame values as an interactive table.\n\n\u003cimg src=\"https://github.com/mljar/variable-inspector/blob/main/media/jupyter-variable-inspector-display-data-frame.gif?raw=true\" alt=\"Jupyter Variable Inspector display DataFrame\"/\u003e\n\n\n### Display DataFrames with updates\n\nThe preview of DataFrame will be automatically refreshed when you change it in the Python code.\n\n\u003cimg src=\"https://github.com/mljar/variable-inspector/blob/main/media/jupyter-variable-inspector-update-data.gif?raw=true\" alt=\"Jupyter Variable Inspector update data\"/\u003e\n\n\n### Customize displayed columns\n\nYou can select which properties of the variables you'd like to display:\n\n![cols](https://github.com/user-attachments/assets/d282fdac-491d-4890-af07-fce5dbdaa27a)\n\n### Automatic or manual refresh\n\nThe list of variables will automatically update whenever you execute a cell. However, you can choose the Manual Refresh option to update the list at your convenience.\n\n![image](https://github.com/user-attachments/assets/281eec42-a227-434d-bb36-028a10e8338c)\n\n### Dark theme\n\nIf you prefer a darker look, a Dark Theme is also available!\n\n![image](https://github.com/user-attachments/assets/e9b4356a-68dc-4ee9-84bf-de4944466301)\n\n## Variable Inspector requirements\n\n- JupyterLab \u003e= 4.0.0\n\n## Install extension\n\nTo install the extension, execute:\n\n```bash\npip install variable_inspector\n```\n\n## Uninstall extension\n\nTo remove the extension, execute:\n\n```bash\npip uninstall variable_inspector\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 variable_inspector 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 variable_inspector\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 `variable-inspector` within that folder.\n\n### Packaging the extension\n\nSee [RELEASE](RELEASE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljar%2Fvariable-inspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmljar%2Fvariable-inspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljar%2Fvariable-inspector/lists"}