jupyter_bokeh


Namejupyter_bokeh JSON
Version 4.0.4 PyPI version JSON
download
home_pageNone
SummaryA Jupyter extension for rendering Bokeh content.
upload_time2024-04-21 03:16:46
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseCopyright (c) 2012 - 2020, Anaconda, Inc., and Bokeh Contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Anaconda nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # jupyter_bokeh

![Github Actions Status](https://github.com/bokeh/jupyter_bokeh/workflows/Build/badge.svg)

A Jupyter extension for rendering [Bokeh](https://bokeh.org) content within Jupyter.  See also the separate [ipywidgets_bokeh](https://github.com/bokeh/ipywidgets_bokeh) library for support for using Jupyter widgets/ipywidgets objects within Bokeh applications.


## Install

For versions 3.0 and newer of JupyterLab, you have the option to install
jupyter_bokeh with either ``pip`` or ``conda``:

```bash
pip install jupyter_bokeh
```

or

```bash
conda install -c conda-forge jupyter_bokeh
```

For versions of Jupyter Lab older than 3.0, you must install the labextension
separately:

```bash
conda install -c conda-forge jupyter_bokeh
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install @bokeh/jupyter_bokeh
```

To install a specific version:

```bash
jupyter labextension install @bokeh/jupyter_bokeh@x.y.x
```

## Compatibility

The core [Bokeh](https://github.com/bokeh/bokeh) library is generally version independent of
[JupyterLab](https://github.com/jupyterlab/jupyterlab) and this ``jupyter_bokeh`` extension
for versions of ``bokeh>=2.0.0``.

Our goal is that ``jupyter_bokeh`` minor releases (using the [SemVer](https://semver.org/) pattern) are
made to follow JupyterLab minor release bumps, while micro releases are for new ``jupyter_bokeh`` features
or bug fix releases. We've been previously inconsistent with having the extension release minor version bumps
track that of JupyterLab, so users seeking to find extension releases that are compatible with their JupyterLab
installation may refer to the below table.

###### Compatible JupyterLab and `jupyter_bokeh` versions

| JupyterLab    | `jupyter_bokeh`  |
| ------------- | ---------------- |
| 0.34.x        | 0.6.2            |
| 0.35.x        | 0.6.3            |
| 1.0.x         | 1.0.0            |
| 2.0.x         | 2.0.0            |
| 3.0.x         | 3.0.0            |
| 4.0.x         | 4.0.0            |

## 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 jupyter_bokeh 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
```

### Uninstall

```bash
pip uninstall jupyter_bokeh
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "jupyter_bokeh",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Bokeh team <info@bokeh.org>",
    "download_url": "https://files.pythonhosted.org/packages/80/3f/66755bc8a2c0bf0b88dbcb4d95ae64046edd9e41bc73290394706607f23c/jupyter_bokeh-4.0.4.tar.gz",
    "platform": null,
    "description": "# jupyter_bokeh\n\n![Github Actions Status](https://github.com/bokeh/jupyter_bokeh/workflows/Build/badge.svg)\n\nA Jupyter extension for rendering [Bokeh](https://bokeh.org) content within Jupyter.  See also the separate [ipywidgets_bokeh](https://github.com/bokeh/ipywidgets_bokeh) library for support for using Jupyter widgets/ipywidgets objects within Bokeh applications.\n\n\n## Install\n\nFor versions 3.0 and newer of JupyterLab, you have the option to install\njupyter_bokeh with either ``pip`` or ``conda``:\n\n```bash\npip install jupyter_bokeh\n```\n\nor\n\n```bash\nconda install -c conda-forge jupyter_bokeh\n```\n\nFor versions of Jupyter Lab older than 3.0, you must install the labextension\nseparately:\n\n```bash\nconda install -c conda-forge jupyter_bokeh\njupyter labextension install @jupyter-widgets/jupyterlab-manager\njupyter labextension install @bokeh/jupyter_bokeh\n```\n\nTo install a specific version:\n\n```bash\njupyter labextension install @bokeh/jupyter_bokeh@x.y.x\n```\n\n## Compatibility\n\nThe core [Bokeh](https://github.com/bokeh/bokeh) library is generally version independent of\n[JupyterLab](https://github.com/jupyterlab/jupyterlab) and this ``jupyter_bokeh`` extension\nfor versions of ``bokeh>=2.0.0``.\n\nOur goal is that ``jupyter_bokeh`` minor releases (using the [SemVer](https://semver.org/) pattern) are\nmade to follow JupyterLab minor release bumps, while micro releases are for new ``jupyter_bokeh`` features\nor bug fix releases. We've been previously inconsistent with having the extension release minor version bumps\ntrack that of JupyterLab, so users seeking to find extension releases that are compatible with their JupyterLab\ninstallation may refer to the below table.\n\n###### Compatible JupyterLab and `jupyter_bokeh` versions\n\n| JupyterLab    | `jupyter_bokeh`  |\n| ------------- | ---------------- |\n| 0.34.x        | 0.6.2            |\n| 0.35.x        | 0.6.3            |\n| 1.0.x         | 1.0.0            |\n| 2.0.x         | 2.0.0            |\n| 3.0.x         | 3.0.0            |\n| 4.0.x         | 4.0.0            |\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 jupyter_bokeh 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### Uninstall\n\n```bash\npip uninstall jupyter_bokeh\n```\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2012 - 2020, Anaconda, Inc., and Bokeh Contributors\n        All rights reserved.\n        \n        Redistribution and use in source and binary forms, with or without modification,\n        are permitted provided that the following conditions are met:\n        \n        Redistributions of source code must retain the above copyright notice,\n        this list of conditions and the following disclaimer.\n        \n        Redistributions in binary form must reproduce the above copyright notice,\n        this list of conditions and the following disclaimer in the documentation\n        and/or other materials provided with the distribution.\n        \n        Neither the name of Anaconda nor the names of any contributors\n        may be used to endorse or promote products derived from this software\n        without specific prior written permission.\n        \n        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n        ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n        LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n        CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n        SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n        INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n        CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n        ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\n        THE POSSIBILITY OF SUCH DAMAGE.",
    "summary": "A Jupyter extension for rendering Bokeh content.",
    "version": "4.0.4",
    "project_urls": {
        "Bug Tracker": "https://github.com/bokeh/jupyter_bokeh/issues",
        "Homepage": "https://github.com/bokeh/jupyter_bokeh",
        "Repository": "https://github.com/bokeh/jupyter_bokeh.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f21a75a654cf3fea0817662e81ca3736202542a90ae072c927d4a9b30e5f0f4b",
                "md5": "11273e34e34ab5fae3406bd9c9a41b2b",
                "sha256": "5aba6ebf1b0db56b613c1d197fb54b8c3260363864bd6a24b2c01024e8c5b328"
            },
            "downloads": -1,
            "filename": "jupyter_bokeh-4.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "11273e34e34ab5fae3406bd9c9a41b2b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 148602,
            "upload_time": "2024-04-21T03:16:44",
            "upload_time_iso_8601": "2024-04-21T03:16:44.921344Z",
            "url": "https://files.pythonhosted.org/packages/f2/1a/75a654cf3fea0817662e81ca3736202542a90ae072c927d4a9b30e5f0f4b/jupyter_bokeh-4.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "803f66755bc8a2c0bf0b88dbcb4d95ae64046edd9e41bc73290394706607f23c",
                "md5": "774d311d5742d02a4acf822b06784ab0",
                "sha256": "f70b70b55c2e53b7d34bf6a244d489dd6b7824d0318790181463f481cc2cd1f8"
            },
            "downloads": -1,
            "filename": "jupyter_bokeh-4.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "774d311d5742d02a4acf822b06784ab0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 149149,
            "upload_time": "2024-04-21T03:16:46",
            "upload_time_iso_8601": "2024-04-21T03:16:46.636426Z",
            "url": "https://files.pythonhosted.org/packages/80/3f/66755bc8a2c0bf0b88dbcb4d95ae64046edd9e41bc73290394706607f23c/jupyter_bokeh-4.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-21 03:16:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bokeh",
    "github_project": "jupyter_bokeh",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "jupyter_bokeh"
}
        
Elapsed time: 0.25840s