$npx skillfedfor your agent

ipyevents

A custom widget for returning mouse and keyboard events to Python

Worth itPyPI Application FrameworksReleased Sep 2025557.1K downloads / moBSD 3-clausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ipyevents-2.0.4-py3-none-any.whl
v2.0.4 · released 2025-09-15 · Python >=3.9 · 1 runtime deps: ipywidgets

Yes. ipyevents is actively maintained, has no known vulnerabilities, installs with low friction, and fills a clear gap in Jupyter interactivity. If you need to capture and respond to browser events in a notebook widget, it is the standard tool for that task.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires JupyterLab 3 or higher (stable releases 2.0.0+); earlier versions support JupyterLab 2 via ipyevents 0.9.0.
  • Low friction: pure Python wheel with a single runtime dependency on ipywidgets.
  • Actively maintained with recent commits and no known vulnerabilities.

License · maintenance · safety

BSD 3-clause (permissive) — BSD 3-clause permissive license allows use in commercial and private projects with minimal restrictions beyond retaining the license notice.

last release 2025-09-15 (333 days) · last repo commit 2026-06-22 · 120 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 557,082 downloads/mo, #6,014 on PyPI

Verify before relying

pip install ipyevents

from ipyevents import Event
from ipywidgets import Image

image = Image(value=open('image.png', 'rb').read())
events = Event(source=image, watched_events=['click'])

def on_click(change):
    print(f"Clicked at {change['new']}")

events.on_msg(on_click)
  • Whether the package supports touch events or only mouse/keyboard events
  • Performance characteristics when handling high-frequency event streams
  • Compatibility with non-JupyterLab notebook environments (classic Jupyter, VS Code, etc.)
Same gist for agents: .md · .json

What it is and what it does

ipyevents is a Jupyter widget that bridges browser-side mouse and keyboard events to Python code running in notebook cells. It wraps any existing ipywidgets widget and emits events when users interact with it—clicking, typing, moving the mouse—allowing you to write event handlers in Python that respond to those interactions in real time.

The package is designed for interactive notebook workflows where you want to build responsive interfaces without leaving Python. Common use cases include adding keyboard shortcuts to widgets, detecting clicks on images, and building custom interactive visualizations. It depends only on ipywidgets and is compatible with modern Python versions (3.9 and above) and JupyterLab 3 or higher.

Use it for

  • Add keyboard shortcuts to existing widgets in a notebook for faster user interaction
  • Detect and respond to mouse clicks on an image to trigger analysis or display metadata
  • Build interactive drawing or annotation tools by capturing mouse movement and click events
  • Create custom interactive plots that respond to user clicks or key presses without rebuilding the widget
  • Implement event-driven callbacks for data exploration workflows in Jupyter notebooks

Worth the install?

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

Worth it

Yes.

ipyevents is actively maintained, has no known vulnerabilities, installs with low friction, and fills a clear gap in Jupyter interactivity. If you need to capture and respond to browser events in a notebook widget, it is the standard tool for that task.

Install

ipyevents on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency on ipywidgets. Actively maintained with recent commits and no known vulnerabilities.

Requires JupyterLab 3 or higher (stable releases 2.0.0+); earlier versions support JupyterLab 2 via ipyevents 0.9.0.

License in practice

BSD 3-clause permissive license allows use in commercial and private projects with minimal restrictions beyond retaining the license notice.

Quickstart

pip install ipyevents

from ipyevents import Event
from ipywidgets import Image

image = Image(value=open('image.png', 'rb').read())
events = Event(source=image, watched_events=['click'])

def on_click(change):
    print(f"Clicked at {change['new']}")

events.on_msg(on_click)

Verify before relying

  • Whether the package supports touch events or only mouse/keyboard events
  • Performance characteristics when handling high-frequency event streams
  • Compatibility with non-JupyterLab notebook environments (classic Jupyter, VS Code, etc.)

Package facts

LicenseBSD 3-clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
ipywidgets
MaintenanceActively maintained 333 days since the last release
Last repo commit
First released
Downloads557,082 / month, #6,014 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: JupyterIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: ipyevents-2.0.4-py3-none-any.whl

Tags

Capabilities
jupyter widget mouse keyboard eventsbrowser events in jupyter notebooksipywidgets event handlingjupyter interactive event callbackskeyboard shortcuts jupyter widgetsclick detection jupyter imagesjupyter event listener widget
Topics
jupyter-widgetinteractive-notebookevent-handling
PyPI keywords
IPythonJupyterWidgets

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 mouse keyboard events”

  • ipyeventsipyevents provides a Jupyter widget that captures mouse and keyboard…
  • pynputPynput lets you programmatically control and monitor mouse and…
  • pynput-robocorp-forkControls and monitors mouse and keyboard input devices across…

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 · ipytree · ipylab · jupyterlab-widgets · ipympl · jupyter-ui-poll · evdev · ipyleaflet · sshkeyboard · pyiotools