Skip to main content

JupyterLab extension for embedding Live QnA as a floating widget.

Project description

live-qna-jupyterlab

JupyterLab extension for opening the existing Live QnA server inside JupyterLab as a floating overlay or left sidebar panel.

Quick install

End users

Once published to PyPI, install it with:

pip install live-qna-jupyterlab

Then restart JupyterLab.

Shared server / JupyterHub admins

Install the package once into the Python environment that runs JupyterLab:

pip install live-qna-jupyterlab

All users on that environment can use the extension after JupyterLab restarts.

Local install from this repository

cd jupyterlab-extension
./scripts/build-dist.sh
pip install dist/*.whl

If you are not publishing to PyPI yet, sharing the built wheel from dist/ is the easiest way for other people to install the extension.

What it includes

  • Top-area quick access button
  • Floating overlay with embedded iframe
  • Optional left sidebar panel
  • Settings for server URL, auto-open, and visibility options

Settings

Open JupyterLab Settings Editor and adjust this plugin:

  • serverUrl: Live QnA URL (default: https://qna.baeum.ai.kr)
  • showTopButton: top quick-access 버튼 표시 여부
  • showLeftPanel: left sidebar tab 표시 여부
  • autoOpen: JupyterLab 복원 후 자동 오픈 여부
  • openMode: floating 또는 left

Example user settings file:

{
  "serverUrl": "https://qna.baeum.ai.kr",
  "showTopButton": true,
  "showLeftPanel": true,
  "autoOpen": false,
  "openMode": "left"
}

Development

cd jupyterlab-extension
npm ci
npm run build

Build a distributable wheel

cd jupyterlab-extension
./scripts/build-dist.sh

This only requires uv; the Python build environment will install the packaging/build dependencies automatically.

It produces a Python wheel/sdist in dist/. The wheel is the easiest artifact to share with other users.

GitHub Actions

  • python-package.yml builds wheel/sdist on PRs, pushes, and tags.
  • Tagging v* also prepares the workflow for optional PyPI publishing.
  • To enable PyPI publishing, set the repository variable PUBLISH_TO_PYPI=true and configure PyPI trusted publishing for this repository.

Notes

  • The extension uses direct server URL mode.
  • Default Live QnA URL: https://qna.baeum.ai.kr

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

live_qna_jupyterlab-0.1.0.tar.gz (54.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

live_qna_jupyterlab-0.1.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file live_qna_jupyterlab-0.1.0.tar.gz.

File metadata

  • Download URL: live_qna_jupyterlab-0.1.0.tar.gz
  • Upload date:
  • Size: 54.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for live_qna_jupyterlab-0.1.0.tar.gz
Algorithm Hash digest
SHA256 823068adc40d171a4cb88091a4a3e6fce976fe40a1636d6f920c71a83e712865
MD5 e01e9acc9a2e3520de28d1b46ac31e91
BLAKE2b-256 91052f8461e4605f650de3f540582f7b167d1a057b6c99103e6e8cfb2b3660b6

See more details on using hashes here.

File details

Details for the file live_qna_jupyterlab-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for live_qna_jupyterlab-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 583ebb3fd09fa3d770386b99470072068028de10a58bfe85141efd380c861191
MD5 4538f068f65d15787330c714b5809718
BLAKE2b-256 949a97872a7e611497c761a8e93a63cb58d167b1e6fbd9e86078aa7cef5db953

See more details on using hashes here.

Supported by

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