# jupyterlite-xeus-nelson
The [xeus-nelson](https://github.com/jupyter-xeus/xeus-nelson) Nelson kernel for JupyterLite running in the browser.
## Requirements
- jupyterlite-core >= 0.1.0b20
## Install
To install the extension, execute:
```bash
pip install jupyterlite-xeus-nelson
```
Then build your JupyterLite site:
```bash
jupyter lite build
```
## Uninstall
To remove the extension, execute:
```bash
pip uninstall jupyterlite_xeus_nelson
```
## Contributing
### Development install
Note: You will need NodeJS to build the extension package.
The `jlpm` command is JupyterLab's pinned version of
[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
`yarn` or `npm` in lieu of `jlpm` below.
```bash
# Clone the repo to your local environment
# Change directory to the jupyterlite_xeus_nelson directory
# Install package in development mode
python -m pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm run build
```
You 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.
```bash
# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab
```
With 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).
### Development uninstall
```bash
pip uninstall jupyterlite_xeus_nelson
```
In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
folder is located. Then you can remove the symlink named `jupyterlite-xeus-nelson` within that folder.
### Packaging the extension
See [RELEASE](RELEASE.md)
Raw data
{
"_id": null,
"home_page": "https://github.com/jupyterlite/xeus-nelson-kernel",
"name": "jupyterlite-xeus-nelson",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "Jupyter,JupyterLab,JupyterLab3",
"author": "JupyterLite Contributors",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/52/58/08770b38ecb38ca5ae57bd859db8baf88ac7868e3e5b711b28d610e74d9e/jupyterlite-xeus-nelson-0.1.4.tar.gz",
"platform": "Linux",
"description": "# jupyterlite-xeus-nelson\n\nThe [xeus-nelson](https://github.com/jupyter-xeus/xeus-nelson) Nelson kernel for JupyterLite running in the browser.\n\n## Requirements\n\n- jupyterlite-core >= 0.1.0b20\n\n## Install\n\nTo install the extension, execute:\n\n```bash\npip install jupyterlite-xeus-nelson\n```\n\nThen build your JupyterLite site:\n\n```bash\njupyter lite build\n```\n\n## Uninstall\n\nTo remove the extension, execute:\n\n```bash\npip uninstall jupyterlite_xeus_nelson\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 jupyterlite_xeus_nelson directory\n# Install package in development mode\npython -m pip install -e .\n\n# Link your development version of the extension with JupyterLab\njupyter labextension develop . --overwrite\n\n# Rebuild extension Typescript source after making changes\njlpm run 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 run 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\n### Development uninstall\n\n```bash\npip uninstall jupyterlite_xeus_nelson\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 `jupyterlite-xeus-nelson` within that folder.\n\n### Packaging the extension\n\nSee [RELEASE](RELEASE.md)\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "A Nelson kernel for JupyterLite, powered by Xeus",
"version": "0.1.4",
"split_keywords": [
"jupyter",
"jupyterlab",
"jupyterlab3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dedb6bb6133c5c443a5003174b8654ac27a10c8b1c92cde589564545729257cf",
"md5": "d914a26d2460773f559fa39c4801e42d",
"sha256": "c0e4dd7d1e3a1a1eca9d2eb596e5d278ffe2878b9d1b74b6e0a111308ea199a0"
},
"downloads": -1,
"filename": "jupyterlite_xeus_nelson-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d914a26d2460773f559fa39c4801e42d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 1200289,
"upload_time": "2023-04-18T12:14:29",
"upload_time_iso_8601": "2023-04-18T12:14:29.091463Z",
"url": "https://files.pythonhosted.org/packages/de/db/6bb6133c5c443a5003174b8654ac27a10c8b1c92cde589564545729257cf/jupyterlite_xeus_nelson-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "525808770b38ecb38ca5ae57bd859db8baf88ac7868e3e5b711b28d610e74d9e",
"md5": "6243bda69f1e0911765323834e07b9f1",
"sha256": "42336f070660b1fe3e04d6868fc4da0dada18b42a160a357027809b794daef03"
},
"downloads": -1,
"filename": "jupyterlite-xeus-nelson-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "6243bda69f1e0911765323834e07b9f1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 1263678,
"upload_time": "2023-04-18T12:14:23",
"upload_time_iso_8601": "2023-04-18T12:14:23.618341Z",
"url": "https://files.pythonhosted.org/packages/52/58/08770b38ecb38ca5ae57bd859db8baf88ac7868e3e5b711b28d610e74d9e/jupyterlite-xeus-nelson-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-18 12:14:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "jupyterlite",
"github_project": "xeus-nelson-kernel",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "jupyterlite-xeus-nelson"
}