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
- Version 0.1.2 works within a IPython app with button callbacks
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.2.tar.gz
(3.6 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.2.tar.gz.
File metadata
- Download URL: jupyter_popup-0.1.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
776af9d81ccfd885e1b7e2339721ec22a110353876978d702bc2965e79ab9b60
|
|
| MD5 |
f919a890b1b38508c542401427bbf2bb
|
|
| BLAKE2b-256 |
a1a27f9b8bc193c4bc7785869c10f7e31262599e7f1de64d768c7bf6bdfe814b
|
File details
Details for the file jupyter_popup-0.1.2-py3-none-any.whl.
File metadata
- Download URL: jupyter_popup-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.9 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 |
8cba1b198b6c57b5501232e92d48f28c878297b56445887e5cae3e9a841fa0e4
|
|
| MD5 |
bdb7bce85c79cf7dc8b4a3b4dd9d2984
|
|
| BLAKE2b-256 |
dbb13e1302a66f15c459f58e057d8325c01020e0dda6459eef3ad2e62f2b0a60
|