soniscope-jupyter


Namesoniscope-jupyter JSON
Version 0.1.8 PyPI version JSON
download
home_page
Summaryjupyter notebook widget with a scatter plot and an interactive lens to enable interactive sonification
upload_time2023-09-27 14:41:32
maintainer
docs_urlNone
authorAlexander Rind, Kajetan Enge, SoniVis team
requires_python>=3.8
license
keywords ipython jupyter widgets
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            
# soniscope-jupyter

[![PyPI-Server](https://img.shields.io/pypi/v/soniscope-jupyter.svg)](https://pypi.org/project/soniscope-jupyter/)

jupyter notebook widget with a scatter plot and an interactive lens to enable interactive sonification

## Installation

You can install using `pip`:

```bash
pip install soniscope_jupyter
```

If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable
the nbextension:
```bash
jupyter nbextension enable --py [--sys-prefix|--user|--system] soniscope_jupyter
```

You can upgrade using `pip`:

```bash
pip install soniscope_jupyter --upgrade --upgrade-strategy only-if-needed
```

## Demo

Install packages:
```
pip install jupyterlab sc3nb
```
Download SuperCollider (version 3.12.2) from <https://supercollider.github.io/download> and install it.

Start Jupyter Lab:
```
jupyter lab
```

Open the notebook document [`SoniScope.ipynb`](examples/SoniScope.ipynb).

Run all cells from top to "Ploting the user interface".


## Development Installation

Create a dev environment:
```bash
conda create -n soniscope_jupyter-dev -c conda-forge nodejs python jupyterlab
conda activate soniscope_jupyter-dev
```
or
```bash
python -m venv venv
source venv/Scripts/activate
python -m pip install -U pip setuptools
pip install nodejs 'jupyterlab==3.6.5' jupyter-packaging
```

For a development installation the version of the python package `jupyterlab`
and the npm package `@jupyterlab/builder` need to match.

Install the python. This will also build the TS package.
```bash
pip install -e ".[test, examples]"
```

When developing your extensions, you need to manually enable your extensions with the
notebook / lab frontend. For lab, this is done by the command:

```
jupyter labextension develop --overwrite .
# npm install # this might be necessary on a fresh development install
npm run build
```

For classic notebook, you need to run:

```
jupyter nbextension install --sys-prefix --symlink --overwrite --py soniscope_jupyter
jupyter nbextension enable --sys-prefix --py soniscope_jupyter
```

Note that the `--symlink` flag doesn't work on Windows, so you will here have to run
the `install` command every time that you rebuild your extension. For certain installations
you might also need another flag instead of `--sys-prefix`, but we won't cover the meaning
of those flags here.

To use symlinks in Windows 10, you can turn on Windows' developer mode.

### How to see your changes
#### Typescript:
If you use JupyterLab to develop then 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 widget.

```bash
# Watch the source directory in one terminal, automatically rebuilding when needed
npm run watch
# Run JupyterLab in another terminal
jupyter lab
```

After a change wait for the build to finish and then refresh your browser and the changes should take effect.

#### Python:
If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.

## Updating the version

To update the version, install tbump and use it to bump the version.
By default it will also create a tag.

```bash
pip install tbump
tbump <new-version>
```

## Citation

Kajetan Enge, Alexander Rind, Michael Iber, Robert Höldrich, and Wolfgang Aigner.
["Towards Multimodal Exploratory Data Analysis: SoniScope as a Prototypical Implementation".](https://doi.org/10.2312/evs.20221095)
In: Proceedings of the 24th Eurographics Conference on Visualization (EuroVis) – Short Papers, p. 67-71.
Rome, Eurographics Association, 2022. \
<https://doi.org/10.2312/evs.20221095>

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "soniscope-jupyter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "IPython,Jupyter,Widgets",
    "author": "Alexander Rind, Kajetan Enge, SoniVis team",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b1/3a/363323d8a812a0b8d5024825a3181f8c2886085093adc3fde93e339194c2/soniscope_jupyter-0.1.8.tar.gz",
    "platform": null,
    "description": "\n# soniscope-jupyter\n\n[![PyPI-Server](https://img.shields.io/pypi/v/soniscope-jupyter.svg)](https://pypi.org/project/soniscope-jupyter/)\n\njupyter notebook widget with a scatter plot and an interactive lens to enable interactive sonification\n\n## Installation\n\nYou can install using `pip`:\n\n```bash\npip install soniscope_jupyter\n```\n\nIf you are using Jupyter Notebook 5.2 or earlier, you may also need to enable\nthe nbextension:\n```bash\njupyter nbextension enable --py [--sys-prefix|--user|--system] soniscope_jupyter\n```\n\nYou can upgrade using `pip`:\n\n```bash\npip install soniscope_jupyter --upgrade --upgrade-strategy only-if-needed\n```\n\n## Demo\n\nInstall packages:\n```\npip install jupyterlab sc3nb\n```\nDownload SuperCollider (version 3.12.2) from <https://supercollider.github.io/download> and install it.\n\nStart Jupyter Lab:\n```\njupyter lab\n```\n\nOpen the notebook document [`SoniScope.ipynb`](examples/SoniScope.ipynb).\n\nRun all cells from top to \"Ploting the user interface\".\n\n\n## Development Installation\n\nCreate a dev environment:\n```bash\nconda create -n soniscope_jupyter-dev -c conda-forge nodejs python jupyterlab\nconda activate soniscope_jupyter-dev\n```\nor\n```bash\npython -m venv venv\nsource venv/Scripts/activate\npython -m pip install -U pip setuptools\npip install nodejs 'jupyterlab==3.6.5' jupyter-packaging\n```\n\nFor a development installation the version of the python package `jupyterlab`\nand the npm package `@jupyterlab/builder` need to match.\n\nInstall the python. This will also build the TS package.\n```bash\npip install -e \".[test, examples]\"\n```\n\nWhen developing your extensions, you need to manually enable your extensions with the\nnotebook / lab frontend. For lab, this is done by the command:\n\n```\njupyter labextension develop --overwrite .\n# npm install # this might be necessary on a fresh development install\nnpm run build\n```\n\nFor classic notebook, you need to run:\n\n```\njupyter nbextension install --sys-prefix --symlink --overwrite --py soniscope_jupyter\njupyter nbextension enable --sys-prefix --py soniscope_jupyter\n```\n\nNote that the `--symlink` flag doesn't work on Windows, so you will here have to run\nthe `install` command every time that you rebuild your extension. For certain installations\nyou might also need another flag instead of `--sys-prefix`, but we won't cover the meaning\nof those flags here.\n\nTo use symlinks in Windows 10, you can turn on Windows' developer mode.\n\n### How to see your changes\n#### Typescript:\nIf you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different\nterminals to watch for changes in the extension's source and automatically rebuild the widget.\n\n```bash\n# Watch the source directory in one terminal, automatically rebuilding when needed\nnpm run watch\n# Run JupyterLab in another terminal\njupyter lab\n```\n\nAfter a change wait for the build to finish and then refresh your browser and the changes should take effect.\n\n#### Python:\nIf you make a change to the python code then you will need to restart the notebook kernel to have it take effect.\n\n## Updating the version\n\nTo update the version, install tbump and use it to bump the version.\nBy default it will also create a tag.\n\n```bash\npip install tbump\ntbump <new-version>\n```\n\n## Citation\n\nKajetan Enge, Alexander Rind, Michael Iber, Robert H\u00f6ldrich, and Wolfgang Aigner.\n[\"Towards Multimodal Exploratory Data Analysis: SoniScope as a Prototypical Implementation\".](https://doi.org/10.2312/evs.20221095)\nIn: Proceedings of the 24th Eurographics Conference on Visualization (EuroVis) \u2013 Short Papers, p. 67-71.\nRome, Eurographics Association, 2022. \\\n<https://doi.org/10.2312/evs.20221095>\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "jupyter notebook widget with a scatter plot and an interactive lens to enable interactive sonification",
    "version": "0.1.8",
    "project_urls": {
        "Homepage": "https://github.com/fhstp/soniscope-jupyter"
    },
    "split_keywords": [
        "ipython",
        "jupyter",
        "widgets"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ee457260786eb2f5e5db7d8299dbd12a886def84ec8ba9fd72d236e28f70c9cc",
                "md5": "87eb8e6584c3ab83736967f8857d561e",
                "sha256": "1320d32d0fb9c61d281b795c60b9abab254b1e295608153f7ec115fd2ac6071b"
            },
            "downloads": -1,
            "filename": "soniscope_jupyter-0.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "87eb8e6584c3ab83736967f8857d561e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 527689,
            "upload_time": "2023-09-27T14:41:30",
            "upload_time_iso_8601": "2023-09-27T14:41:30.533801Z",
            "url": "https://files.pythonhosted.org/packages/ee/45/7260786eb2f5e5db7d8299dbd12a886def84ec8ba9fd72d236e28f70c9cc/soniscope_jupyter-0.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b13a363323d8a812a0b8d5024825a3181f8c2886085093adc3fde93e339194c2",
                "md5": "1d35facc53f85f9581cbbde41c8ace1b",
                "sha256": "0e3732c098972fd477fcb1d99cd422190362947c47627d90a5db03a6e6ef010b"
            },
            "downloads": -1,
            "filename": "soniscope_jupyter-0.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "1d35facc53f85f9581cbbde41c8ace1b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 477688,
            "upload_time": "2023-09-27T14:41:32",
            "upload_time_iso_8601": "2023-09-27T14:41:32.375669Z",
            "url": "https://files.pythonhosted.org/packages/b1/3a/363323d8a812a0b8d5024825a3181f8c2886085093adc3fde93e339194c2/soniscope_jupyter-0.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-27 14:41:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fhstp",
    "github_project": "soniscope-jupyter",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "soniscope-jupyter"
}
        
Elapsed time: 0.12765s