https://github.com/vispy/jupyter_rfb
Remote Frame Buffer for Jupyter
https://github.com/vispy/jupyter_rfb
jupyter python visualization widgets
Last synced: about 1 year ago
JSON representation
Remote Frame Buffer for Jupyter
- Host: GitHub
- URL: https://github.com/vispy/jupyter_rfb
- Owner: vispy
- License: mit
- Created: 2021-07-09T09:10:02.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-11T09:04:50.000Z (over 1 year ago)
- Last Synced: 2025-04-04T05:41:49.383Z (about 1 year ago)
- Topics: jupyter, python, visualization, widgets
- Language: Python
- Homepage: https://jupyter-rfb.readthedocs.io
- Size: 1.22 MB
- Stars: 70
- Watchers: 8
- Forks: 13
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# jupyter_rfb
Remote Frame Buffer for Jupyter
[](https://badge.fury.io/py/jupyter-rfb)
[](https://github.com/vispy/jupyter_rfb/actions)
[](https://mybinder.org/v2/gh/vispy/jupyter_rfb/main?urlpath=lab/tree/examples/hello_world.ipynb)
## Introduction
The `jupyter_rfb` library provides a widget (an `ipywidgets` subclass)
that can be used in the Jupyter notebook and in JupyterLab to implement
a remote frame-buffer.
Images that are generated at the server are streamed to the client
(Jupyter) where they are shown. Events (such as mouse interactions) are
streamed in the other direction, where the server can react by
generating new images.
This *remote-frame-buffer* approach can be an effective method for
server-generated visualizations to be dispayed in Jupyter notebook/lab. For
example visualization created by tools like vispy, datoviz or pygfx.
## Scope
The above defines the full scope of this library; it's a base widget
that other libraries can extend for different purposes. Consequently,
these libraries don't have to each invent a Jupyter widget, and in
*this* library we can focus on doing that one task really well.
## Installation
To install use pip:
$ pip install jupyter_rfb
For better performance, also ``pip install simplejpeg`` or ``pip install pillow``.
On older versions of Jupyter notebook/lab an extra step might be needed
to enable the widget.
To install into an existing conda environment:
$ conda install -c conda-forge jupyter-rfb
## Developer notes
See [the contributor guide](https://jupyter-rfb.readthedocs.io/en/stable/contributing.html) on how to install ``jupyter_rfb``
in a dev environment, and on how to contribute.
## License
MIT