Skip to main content

Video presentation over WebRTC with AR capabilities.

Project description

jupyterlab_gather

Github Actions StatusBinder

JupyterLab-Gather enables video conferencing capabilities directly within Jupyter Lab, and also introduces the feature of using an AR cube marker to display GLTF models in real-time during video calls.

Imagine being able to share your work, collaborate on projects, or even teach in a more immersive and interactive way, all within the familiar Jupyter Lab environment. With this extension, you can now:

  • Video Conferencing: Engage in real-time video calls directly from Jupyter Lab, facilitating seamless collaboration and communication among team members or students.
  • AR Cube Marker: Utilize an AR cube marker to display GLTF models in real-time during video calls. This feature allows for the dynamic integration of 3D models into your presentations or collaborative sessions, enhancing the learning experience and making complex concepts more tangible.
  • Integration with JupyterCAD: Using JupyterCAD-Gather, seamlessly integrate models created with JupyterCAD, a powerful JupyterLab extension for 3D geometry modeling, directly into your video calls. This allows you to share and collaborate on complex 3D designs in real-time, enhancing the learning and collaboration experience by making it more interactive and tangible

This extension is built on the foundation of JupyterLab's robust ecosystem, ensuring compatibility with existing JupyterLab features and extensions. Whether you're a teacher looking to make your lessons more interactive, a researcher wanting to share your findings in a more engaging way, or a student seeking a more immersive learning experience, this extension is designed to meet your needs.

This extension is composed of a Python package named jupyterlab_gather for the server extension and a NPM package named jupyterlab_gather for the frontend extension.

Requirements

  • JupyterLab >= 4.0.0

Install

To install the extension, execute:

pip install jupyterlab_gather

Setup

  1. Go to https://www.100ms.live/ and click Try for Free to get started.

    landing page

  2. Login however you like.

    login page

  3. Select Video Conferencing.

    use case page

  4. Go to the dashboard.

    role page

  5. Click on Join to see your room details.

    dashboard

  6. Copy the room code for whichever role you like. This code will be entered on the join form to gain access to the video conference room. Anyone with the code will be able to join the room.

    room code

  7. Start Gather from the JupyterLab start page.

    jupyter

  8. Enter the room code on the join form and click Join.

    gather join

  9. And that's all! You're all set up!

Usage

Check here for usage instructions

Uninstall

To remove the extension, execute:

pip uninstall jupyterlab_gather

Troubleshoot

Check the frontend extension is installed:

jupyter labextension list

Contributing

Development install

Note: You will need NodeJS to build the extension package.

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

# Clone the repo to your local environment
# Change directory to the jupyterlab_gather directory
# Install package in development mode
pip install -e ".[test]"
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Server extension must be manually installed in develop mode
jupyter server extension enable jupyterlab_gather
# Rebuild extension Typescript source after making changes
jlpm 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.

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm 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 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:

jupyter lab build --minimize=False

Development uninstall

# Server extension must be manually disabled in develop mode
jupyter server extension disable jupyterlab_gather
pip uninstall jupyterlab_gather

In development mode, you will also need to remove the symlink created by jupyter labextension develop command. To find its location, you can run jupyter labextension list to figure out where the labextensions folder is located. Then you can remove the symlink named jupyterlab_gather within that folder.

Testing the extension

Frontend tests

This extension is using Jest for JavaScript code testing.

To execute them, execute:

jlpm
jlpm test

Integration tests

This extension uses Playwright for the integration tests (aka user level tests). More precisely, the JupyterLab helper Galata is used to handle testing the extension in JupyterLab.

More information are provided within the ui-tests README.

Packaging the extension

See RELEASE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_gather-0.1.2.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

jupyterlab_gather-0.1.2-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_gather-0.1.2.tar.gz.

File metadata

  • Download URL: jupyterlab_gather-0.1.2.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for jupyterlab_gather-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1246a16edb896676bff19e2ec8e05779cbb7fdfb7af30e0fba894d2bc4a0e2c2
MD5 4d1f979508cd6df03261d2a707084e09
BLAKE2b-256 0173b54348d3dd01e6d0c9d958e3e15d90c609a850fb15da9e70a819d207e4f5

See more details on using hashes here.

File details

Details for the file jupyterlab_gather-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_gather-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f2b330422fea322896623c79829f707221444341a3395e5cade75d5c8b5d3612
MD5 c2b2d332789d6e542183562fb0539691
BLAKE2b-256 352e4e006567913e8f567c25825ebd359e5f0f0484d4aa09ebfa4714ad688f14

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page