# tiledb-plot-widget
[![Build Status](https://dev.azure.com/TileDB-Inc/CI/_apis/build/status/TileDB-Inc.TileDB-Jupyter-Plot-Widget?branchName=master)](https://dev.azure.com/TileDB-Inc/CI/_build/latest?definitionId=18&branchName=master)
Custom Jupyterlab widget for TileDB
## Requirements
* JupyterLab >= 3.0
## Install
To install the extension, execute:
```bash
pip install tiledb-plot-widget
```
## Uninstall
To remove the extension, execute:
```bash
pip uninstall tiledb-plot-widget
```
## 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 tiledb-plot-widget directory
# Install package in development mode
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).
By default, the `jlpm run 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:
```bash
jupyter lab build --minimize=False
```
### Development uninstall
```bash
pip uninstall tiledb-plot-widget
```
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 `@tiledb-inc/tiledb-plot-widget` within that folder.
### Packaging the extension
See [RELEASE](RELEASE.md)
Raw data
{
"_id": null,
"home_page": "https://github.com/TileDB-Inc/TileDB-Jupyter-Plot-Widget",
"name": "tiledb-plot-widget",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Jupyter,JupyterLab,JupyterLab3",
"author": "TileDB",
"author_email": "hello@tiledb.com",
"download_url": "",
"platform": "Linux",
"description": "# tiledb-plot-widget\n\n[![Build Status](https://dev.azure.com/TileDB-Inc/CI/_apis/build/status/TileDB-Inc.TileDB-Jupyter-Plot-Widget?branchName=master)](https://dev.azure.com/TileDB-Inc/CI/_build/latest?definitionId=18&branchName=master)\n\nCustom Jupyterlab widget for TileDB\n\n\n\n## Requirements\n\n* JupyterLab >= 3.0\n\n## Install\n\nTo install the extension, execute:\n\n```bash\npip install tiledb-plot-widget\n```\n\n## Uninstall\n\nTo remove the extension, execute:\n\n```bash\npip uninstall tiledb-plot-widget\n```\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 tiledb-plot-widget 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 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\nBy default, the `jlpm run 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 tiledb-plot-widget\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 `@tiledb-inc/tiledb-plot-widget` within that folder.\n\n### Packaging the extension\n\nSee [RELEASE](RELEASE.md)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Custom Jupyterlab widget for TileDB",
"version": "1.1.0",
"project_urls": {
"Homepage": "https://github.com/TileDB-Inc/TileDB-Jupyter-Plot-Widget"
},
"split_keywords": [
"jupyter",
"jupyterlab",
"jupyterlab3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9fb01675fa4100a9188ca2c728ecc59464f6634efdd40004f90c10d4c2da56d7",
"md5": "8a661a2294a14be8939b87c431f640fa",
"sha256": "3c887b8fa972db8d0116e73630dc43e712a507f6bab16a64a6c081bb9a13fec3"
},
"downloads": -1,
"filename": "tiledb_plot_widget-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8a661a2294a14be8939b87c431f640fa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 225189,
"upload_time": "2023-07-28T09:48:20",
"upload_time_iso_8601": "2023-07-28T09:48:20.268780Z",
"url": "https://files.pythonhosted.org/packages/9f/b0/1675fa4100a9188ca2c728ecc59464f6634efdd40004f90c10d4c2da56d7/tiledb_plot_widget-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-28 09:48:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "TileDB-Inc",
"github_project": "TileDB-Jupyter-Plot-Widget",
"travis_ci": false,
"coveralls": true,
"github_actions": false,
"lcname": "tiledb-plot-widget"
}