A Python bridge that opens the Pyxel Config Lab UI directly inside Jupyter Notebooks.
Project description
Pyxel Config Lab Bridge🪐
Pyxel Config Lab Bridge is a lightweight Python connector that allows Jupyter Notebooks to communicate with the Pyxel Config Lab JupyterLab extension.
It sends a command from Python to open the Pyxel Config Lab interface inside your JupyterLab environment.
✨ Features
- Opens the Pyxel Config Lab UI directly from a notebook cell.
- No JavaScript needed — pure Python bridge using Jupyter’s comms.
- Easy to install and distribute.
🧩 Installation
1. Install via pip
pip install pyxel-config-lab-bridge
If you’re developing locally:
pip install -e .
2. Ensure the Pyxel Config Lab JupyterLab extension is installed
jupyter labextension install pyxel-config-lab
🚀 Usage
In any Jupyter Notebook cell:
from pyxel_config_lab_bridge import open_pyxel_config_lab
open_pyxel_config_lab()
This will open the Pyxel Config Lab panel directly in your JupyterLab workspace.
🧠 How It Works
The bridge uses Jupyter’s comms (ipykernel.comm.Comm) to send a small message to the frontend extension.
Once received, the frontend triggers the pyxel-config-lab:open command — which opens the Pyxel Config Lab iframe view.
📜 License
MIT © 2025 Doby Baxter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyxel_config_lab_bridge-0.2.2.tar.gz.
File metadata
- Download URL: pyxel_config_lab_bridge-0.2.2.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c23bc799753d8ef2d89c60cea9c580e3ca6260a0338cf3e7421034e72dc73940
|
|
| MD5 |
4007e17638c79a7623ae10efceb2d5e5
|
|
| BLAKE2b-256 |
68b1ebec8b2b558d09c0c9e9e5646832136d03ba76ea69d11093dd463d84edb1
|
File details
Details for the file pyxel_config_lab_bridge-0.2.2-py3-none-any.whl.
File metadata
- Download URL: pyxel_config_lab_bridge-0.2.2-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a207d90845d77a45f1f771c3ad061c9b44f387dc92bcb072567a6f174ed29f6
|
|
| MD5 |
1b5c2f2b52f0b237ff580e6616670b57
|
|
| BLAKE2b-256 |
147d6ad08eb1089ded0e0f048ef017a6308ad50ac29278c47cc7b19f586e9ff1
|