jupyter_bokeh


Namejupyter_bokeh JSON
Version 4.0.5 PyPI version JSON
download
home_pageNone
SummaryA Jupyter extension for rendering Bokeh content.
upload_time2024-06-03 06:33:33
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/b4/fd/8f0213c704bf36b5f523ae5bf7dc367f3687e75dcc2354084b75c05d2b53/jupyter_bokeh-4.0.5.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.5",
    "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": "477833b2294aad62e5f95b89a89379c5995c2bd978018387ef8bec79f6dc272c",
                "md5": "f7c6a1efb2be4de758c4f44a7aebf5d3",
                "sha256": "1110076c14c779071cf492646a1a871aefa8a477261e4721327a666e65df1a2c"
            },
            "downloads": -1,
            "filename": "jupyter_bokeh-4.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f7c6a1efb2be4de758c4f44a7aebf5d3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 148593,
            "upload_time": "2024-06-03T06:33:35",
            "upload_time_iso_8601": "2024-06-03T06:33:35.820172Z",
            "url": "https://files.pythonhosted.org/packages/47/78/33b2294aad62e5f95b89a89379c5995c2bd978018387ef8bec79f6dc272c/jupyter_bokeh-4.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b4fd8f0213c704bf36b5f523ae5bf7dc367f3687e75dcc2354084b75c05d2b53",
                "md5": "fff363d3519d1a2339ad3ba82076b09e",
                "sha256": "a33d6ab85588f13640b30765fa15d1111b055cbe44f67a65ca57d3593af8245d"
            },
            "downloads": -1,
            "filename": "jupyter_bokeh-4.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "fff363d3519d1a2339ad3ba82076b09e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 149140,
            "upload_time": "2024-06-03T06:33:33",
            "upload_time_iso_8601": "2024-06-03T06:33:33.488594Z",
            "url": "https://files.pythonhosted.org/packages/b4/fd/8f0213c704bf36b5f523ae5bf7dc367f3687e75dcc2354084b75c05d2b53/jupyter_bokeh-4.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-03 06:33:33",
    "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.25456s