# SwanDask
This module is a wrapper to the [dask-labextension](https://github.com/dask/dask-labextension) extension.
It allows running the backend as a separate process, served via jupyter-server-proxy, instead of a server extension.
We use it to configure the Dask environment, which we want to be different than the process running Jupyter Lab.
The extension will automatically load the environment from the default Python 3 kernel.
## Install
```
pip install swandask
```
~~If being served under an LCG release, install the package without any dependency except Jupyter and `jupyter-server-proxy`.~~ Installing without dependencies doesn't create the entry points. So the extension no longer depends on `dask-labextension` but this needs to be present. It also requires, and installs, tornado and `jupyter-server-proxy`.
This extension needs to be installed *after* its dependency `dask-labextension` in order to disable the server extension automatically. Otherwise, just disable it manually.
Raw data
{
"_id": null,
"home_page": "https://github.com/swan-cern/jupyter-extensions",
"name": "swandask",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "JupyterLab,SWAN,CERN",
"author": "SWAN Admins",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/30/9a/0f5e81619426fd2ccd887adab8ed4d78f4ce07fe5eb79f2d8372e8257636/swandask-0.0.5.tar.gz",
"platform": "Linux",
"description": "# SwanDask\n\nThis module is a wrapper to the [dask-labextension](https://github.com/dask/dask-labextension) extension.\nIt allows running the backend as a separate process, served via jupyter-server-proxy, instead of a server extension.\n\nWe use it to configure the Dask environment, which we want to be different than the process running Jupyter Lab.\n\nThe extension will automatically load the environment from the default Python 3 kernel.\n\n\n## Install\n\n```\npip install swandask\n```\n\n~~If being served under an LCG release, install the package without any dependency except Jupyter and `jupyter-server-proxy`.~~ Installing without dependencies doesn't create the entry points. So the extension no longer depends on `dask-labextension` but this needs to be present. It also requires, and installs, tornado and `jupyter-server-proxy`.\n\nThis extension needs to be installed *after* its dependency `dask-labextension` in order to disable the server extension automatically. Otherwise, just disable it manually.\n",
"bugtrack_url": null,
"license": "AGPL-3.0",
"summary": "Wrapper to run dask_jupyterlab as an external process",
"version": "0.0.5",
"project_urls": {
"Homepage": "https://github.com/swan-cern/jupyter-extensions"
},
"split_keywords": [
"jupyterlab",
"swan",
"cern"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d2d242dcd04a03fc09a84cbd7c23b8fc4305b40ad6fb19fe4d3989f0ae210baf",
"md5": "433ca51ec796c93c016340211032fc51",
"sha256": "7f5799202b82309fbed081a2360402a5d84ce8c5d2bc436ab56a2fc2e1164d94"
},
"downloads": -1,
"filename": "swandask-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "433ca51ec796c93c016340211032fc51",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4850,
"upload_time": "2023-12-14T12:54:41",
"upload_time_iso_8601": "2023-12-14T12:54:41.475452Z",
"url": "https://files.pythonhosted.org/packages/d2/d2/42dcd04a03fc09a84cbd7c23b8fc4305b40ad6fb19fe4d3989f0ae210baf/swandask-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "309a0f5e81619426fd2ccd887adab8ed4d78f4ce07fe5eb79f2d8372e8257636",
"md5": "296ba4b923df626079786cb7970c059c",
"sha256": "b0f1d6286cf66b472360a0698a15058892debcd199273f46f85ba0c37a96b21d"
},
"downloads": -1,
"filename": "swandask-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "296ba4b923df626079786cb7970c059c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4591,
"upload_time": "2023-12-14T12:54:42",
"upload_time_iso_8601": "2023-12-14T12:54:42.885112Z",
"url": "https://files.pythonhosted.org/packages/30/9a/0f5e81619426fd2ccd887adab8ed4d78f4ce07fe5eb79f2d8372e8257636/swandask-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-14 12:54:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "swan-cern",
"github_project": "jupyter-extensions",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "swandask"
}