{"id":18961416,"url":"https://github.com/nushell/nu_jupyter","last_synced_at":"2025-04-19T11:41:08.204Z","repository":{"id":104245591,"uuid":"247385857","full_name":"nushell/nu_jupyter","owner":"nushell","description":"An experimental juptyer notebook kernel for Nushell","archived":false,"fork":false,"pushed_at":"2020-07-05T20:09:18.000Z","size":109,"stargazers_count":24,"open_issues_count":1,"forks_count":4,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-29T07:22:41.625Z","etag":null,"topics":[],"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/nushell.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":"2020-03-15T02:09:32.000Z","updated_at":"2024-12-18T16:33:14.000Z","dependencies_parsed_at":"2023-03-20T09:32:14.593Z","dependency_job_id":null,"html_url":"https://github.com/nushell/nu_jupyter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nushell%2Fnu_jupyter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nushell%2Fnu_jupyter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nushell%2Fnu_jupyter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nushell%2Fnu_jupyter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nushell","download_url":"https://codeload.github.com/nushell/nu_jupyter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249195420,"owners_count":21228196,"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-11-08T14:12:49.681Z","updated_at":"2025-04-19T11:41:08.190Z","avatar_url":"https://github.com/nushell.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jupyter Notebook support for Nushell\n\n![Example of Jupyter running Nushell](jupyter_example.png)\n\nThis is a very(!) experimental kernel for Jupyter for running Nushell. It currently requires 0.11.1 or later.\n\nTo install and run the kernel:\n\n```\n\u003e cd nu_jupyter\nnu_jupyter\u003e jupyter kernelspec install ../nu_jupyter --user\nnu_jupyter\u003e jupyter lab\n```\n\nLimitations:\n\n* State is not kept between runs. This is something that will change in future versions.\n\n## How to create the python egg\nThis step is only needed if you've made changes to the nushell kernelspec.\n\n### Creating the python egg\nTo create the egg file do the following:\n```\n\u003e cd nu_jupyter\nnu_jupyter\u003e python.exe setup.py bdist_egg\n```\nThis creates an egg file in the `dist` folder that pipenv can utilize.\n\n## Installing using pipenv\nFrom within your pipenv environment folder, mine is called `me/jup`.\n```\njup\u003e pipenv install -e git+https://github.com/nushell/nu_jupyter.git#egg=dist\n```\nThis should add the nu_jupyter kernelspec and insert entries in your pipfile and pipfile.lock file.\n## Running with pipenv\nFrom within your pipenv env folder, mine is called `/me/jup`.\n```\n# To activate your pipenv environment, run\njup\u003e pipenv shell\n\n# To add the new jupyter kernel\njup\u003e jupyter kernelspec install ../nu_jupyter --user\n\n# To launch jupyter lab, run\njup\u003e jupyter lab\n```\nAfter launching you should have jupyter lab looking similar to this.\n![Jupyter Lab](jupyter_lab.png)\nThe last thing is to ensure that NuShell is somewhere in your path. Jupyter requires access to it in order to run the commands in the notebook.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnushell%2Fnu_jupyter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnushell%2Fnu_jupyter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnushell%2Fnu_jupyter/lists"}