Skip to main content

ezmsg-peripheraldevice

Short description of your ezmsg package.

Installation

pip install ezmsg-peripheraldevice

Dependencies

  • ezmsg
  • ezmsg-baseproc
  • numpy
  • pynput

Usage

Mouse Examples

Event-driven mouse listener - captures every mouse movement event:

python examples/mouse_listen.py

Polling mouse position - reads mouse position at a fixed rate:

python examples/mouse_poll.py --rate 60

Programmatic Usage

import ezmsg.core as ez
from ezmsg.peripheraldevice import MouseListener, MouseListenerSettings
from ezmsg.peripheraldevice import MousePoller, MousePollerSettings

Note: MouseListener requires extra permissions.

Development

We use uv for development.

  1. Install uv if not already installed.
  2. Fork this repository and clone your fork locally.
  3. Open a terminal and cd to the cloned folder.
  4. Run uv sync to create a .venv and install dependencies.
  5. (Optional) Install pre-commit hooks: uv run pre-commit install
  6. After making changes, run the test suite: uv run pytest tests

License

MIT License - see LICENSE for details.

Metadata

Release files for ezmsg-peripheraldevice 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ezmsg-peripheraldevice 0.3.0
File Size Uploaded
ezmsg_peripheraldevice-0.3.0.tar.gz 13.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ezmsg-peripheraldevice 0.3.0
File Interpreter ABI Platform
ezmsg_peripheraldevice-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.7 kB

Release files / ezmsg_peripheraldevice-0.3.0.tar.gz

Download URL ezmsg_peripheraldevice-0.3.0.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e8985f762c0297375a0665ab6e8179bda7de53573ff99dc5e9e36a2d709ce86c
BLAKE2b-256 checksum
How to use checksums
b03ba04b4f373a4d1c1788f83b6a953e3421d413c5f86e653f8ab8e517d3777c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ezmsg_peripheraldevice-0.3.0-py3-none-any.whl

Download URL ezmsg_peripheraldevice-0.3.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adcdb9aa23600191e6d41b644c9e86e4cce14ca1b0e5912c02fa1b05e0521b16
BLAKE2b-256 checksum
How to use checksums
ab2ee5b9c6461accae98fcc356d2569bacda11775fbe570459073541cadd2284
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page