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.1.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.1.tar.gz.
File metadata
- Download URL: jupyter_popup-0.1.1.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 |
9057c5ce758e1783e38e7b5bee75176bf1e6f6cff7a28cd7b37334a29a788dc4
|
|
| MD5 |
0d694e7ca9446fdb8cf892c9c7682f8c
|
|
| BLAKE2b-256 |
8d6ec2d78577b6be641cfcdd04c9ab90a3822f878e493ccfe846917cee7d4eb5
|
File details
Details for the file jupyter_popup-0.1.1-py3-none-any.whl.
File metadata
- Download URL: jupyter_popup-0.1.1-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 |
1e79c9aa9c3ac242c97d0c685766b85236b5816d9ca5b3258ef384bcef528b81
|
|
| MD5 |
6d3a19e2eb28c0417bbe47e3185f0859
|
|
| BLAKE2b-256 |
2d961eb88716143c9361b50d5a4c26f6ce4c63d2cac25705aee95b64f12113f3
|