Metadata-Version: 2.4
Name: pyxel-config-lab-jupyter
Version: 0.3.0
Summary: Open the Pyxel Config Lab UI directly inside a Jupyter notebook as an embedded iframe.
Author: Doby Baxter
License: MIT
Project-URL: Homepage, https://gitlab.com/dobybaxter127/pyxel-config-lab/-/tree/main/pyxel-config-lab-extension
Project-URL: Source, https://gitlab.com/dobybaxter127/pyxel-config-lab
Project-URL: Issues, https://gitlab.com/dobybaxter127/pyxel-config-lab/-/issues
Keywords: jupyter,jupyterlab,notebook,pyxel,iframe
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Framework :: Jupyter
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ipython
Dynamic: license-file

# Pyxel Config Lab for Jupyter 🪐

**Pyxel Config Lab for Jupyter** opens the **Pyxel Config Lab** interface
directly inside a Jupyter notebook as an embedded iframe — no JavaScript,
no labextension build, no extra setup.

---

## ✨ Features

- Launches the Pyxel Config Lab UI straight from a notebook cell
- Pure Python — uses `IPython.display` to embed the live app
- Works in JupyterLab and the classic Notebook

---

## 🧩 Installation

```bash
pip install pyxel-config-lab-jupyter
```

PyPI: https://pypi.org/project/pyxel-config-lab-jupyter/

---

## 🚀 Usage

In any notebook cell:

```python
from pyxel_config_lab_jupyter import open_pyxel_config_lab

open_pyxel_config_lab()
```

The Pyxel Config Lab UI appears in the cell output. You can pass a custom
height in pixels:

```python
open_pyxel_config_lab(height=800)
```

---

## 🛠️ Troubleshooting

If the output area is blank:

- Make sure the notebook is **trusted** — untrusted notebooks may strip
  iframes.
- The embedded site must allow cross-origin framing, i.e. it must not
  send a restrictive `X-Frame-Options` or CSP `frame-ancestors` header.

---

## 📜 License

MIT © 2025 Doby Baxter
