A reliable popup/modal solution for Jupyter notebooks
Project description
jupyter-popup
A simple and reliable popup/modal solution for Jupyter notebooks that works in remote environments.
Installation
pip install jupyter-popup
Usage
from jupyter_popup import create_popup
# Simple usage
create_popup("This is a test message", "Title")
# With HTML content
html_content = """
<div style='line-height: 1.6'>
<h3>Important Information</h3>
<p>This is formatted content.</p>
</div>
"""
create_popup(html_content, "HTML Content")
Features
- True fixed positioning that works in remote Jupyter environments
- Proper handling of long content with scrolling
- Works with HTML content
- Doesn't interfere with notebook layout
- Proper contrast and visibility in both light and dark themes
Requirements
- Python ≥ 3.6
- IPython ≥ 7.0.0
License
MIT
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
jupyter_popup-0.1.0.tar.gz
(4.0 kB
view details)
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 jupyter_popup-0.1.0.tar.gz.
File metadata
- Download URL: jupyter_popup-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c870c4f5a7693eb5cbb4ad514b3bf3e1ec7db1395c970423311ea9c53b56801e
|
|
| MD5 |
00a2c6c37ab15c5deeac6c1b2c6423f8
|
|
| BLAKE2b-256 |
cfa1341e74bbaf304698d921ef66bb064ff1abd71beee92fec9e86d383dd162f
|
File details
Details for the file jupyter_popup-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jupyter_popup-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b00858a91bcabea0d409e33b48f64fd7583b8580dc24a4ab61efe3d22490f16c
|
|
| MD5 |
dab46afa982f7588a2e34a921885f9e7
|
|
| BLAKE2b-256 |
ce997c56cb0e9a5fb57b362cf02651496045549fde3d6c3e493f105057665b4e
|