$npx skillfedfor your agent

jupyter-ui-poll

Block jupyter cell execution while interacting with widgets

With conditionsPyPI Application FrameworksReleased Oct 2025240.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — jupyter_ui_poll-1.1.0-py3-none-any.whl
v1.1.0 · released 2025-10-31 · Python >=3.8 · 1 runtime deps: ipython

Yes, if you are building an interactive Jupyter notebook that needs to collect user input before running downstream analysis, and you want the notebook to work with `Run All`. The package is stable (Production/Stable status), has no known vulnerabilities, and solves a real problem that is otherwise difficult to implement. Maintenance is aging but the repo is active and the library is narrow in scope, reducing the risk of bit-rot.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later and a Jupyter environment with ipython installed.
  • Low friction: pure Python wheel with a single runtime dependency on ipython.
  • Last release was 287 days ago; repo is not archived and remains active, though maintenance pace is aging.

License · maintenance · safety

permissive license (permissive) — Permissive license means you can use, modify, and distribute this package with minimal restrictions in commercial or private projects.

last release 2025-10-31 (287 days) · last repo commit 2025-10-31 · 40 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 240,190 downloads/mo, #8,908 on PyPI

Verify before relying

pip install jupyter-ui-poll

from jupyter_ui_poll import ui_events
import time

ui_done = False
def on_click(btn):
    global ui_done
    ui_done = True

with ui_events() as poll:
    while not ui_done:
        poll(10)
        time.sleep(0.1)
  • Whether the package works correctly with all Jupyter frontends or has known limitations.
  • Performance characteristics when polling at high frequency or with many concurrent widgets.
  • Compatibility with recent ipython versions beyond what classifiers indicate.
Same gist for agents: .md · .json

What it is and what it does

jupyter-ui-poll solves a specific problem in Jupyter notebooks: making widget interactions feel synchronous when they are fundamentally asynchronous. When you display widgets and want to wait for user input before running downstream cells, a naive polling loop does not work because the Jupyter kernel only processes one event at a time—widget callbacks never fire while your cell code is running. This library hooks into IPython's kernel event handling to selectively process widget events in a loop while deferring execution of subsequent cells until your poll loop exits.

The package provides a context manager (`ui_events()`) that temporarily intercepts the kernel's cell-execution handler, allowing you to call `poll()` repeatedly to process widget events. When you exit the context, any queued cell-execution requests are replayed in order. This makes it possible to write notebooks that run end-to-end with `Cells → Run All` while still collecting user input at the top.

Use it for

  • Parameterize a notebook's analysis by collecting user input before running computation cells.
  • Build a multi-step data-entry workflow where each step validates input before allowing the user to proceed.
  • Create an interactive notebook where user actions trigger updates to visualizations in cells below.
  • Implement a notebook that can be run unattended via `Run All` after initial setup, with all user input collected upfront.
  • Develop a Jupyter-based tool that guides users through a workflow using a GUI instead of requiring code cell edits.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building an interactive Jupyter notebook that needs to collect user input before running downstream analysis, and you want the notebook to work with `Run All`.

The package is stable (Production/Stable status), has no known vulnerabilities, and solves a real problem that is otherwise difficult to implement. Maintenance is aging but the repo is active and the library is narrow in scope, reducing the risk of bit-rot.

Install

jupyter-ui-poll on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency on ipython. Last release was 287 days ago; repo is not archived and remains active, though maintenance pace is aging.

Requires Python 3.8 or later and a Jupyter environment with ipython installed.

License in practice

Permissive license means you can use, modify, and distribute this package with minimal restrictions in commercial or private projects.

Quickstart

pip install jupyter-ui-poll

from jupyter_ui_poll import ui_events
import time

ui_done = False
def on_click(btn):
    global ui_done
    ui_done = True

with ui_events() as poll:
    while not ui_done:
        poll(10)
        time.sleep(0.1)

Verify before relying

  • Whether the package works correctly with all Jupyter frontends or has known limitations.
  • Performance characteristics when polling at high frequency or with many concurrent widgets.
  • Compatibility with recent ipython versions beyond what classifiers indicate.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
ipython
MaintenanceAging 287 days since the last release
Last repo commit
First released
Downloads240,190 / month, #8,908 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: JupyterIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: jupyter_ui_poll-1.1.0-py3-none-any.whl

Tags

Capabilities
jupyter widget blockingjupyter cell execution pausenotebook interactive pollingjupyter ui event loopblocking gui jupyterwidget callback pollingjupyter input waiting
Topics
jupyter-interactivewidget-polling
PyPI keywords
jupyteripywidgets

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “jupyter widget blocking”

  • jupyter-ui-pollBlocks Jupyter cell execution while waiting for user interaction with…
  • widgetsnbextensionProvides the JavaScript frontend and communication layer that enables…
  • ipytreeipytree provides a tree-structure widget for Jupyter notebooks and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also ipywidgets · ipyflow-core · ipyfilechooser · ipyevents · ipytree · jurigged · widgetsnbextension · jupyter-nbmodel-client · reacton · pyiotools