--- id: phidget22 version: "1.25.20260408" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # phidget22 — Phidget22 Python wrapper library License: permissive · Maintenance: active · Downloads: 613.8K/mo ## What it is and what it does Phidget22 is the official Python wrapper around the native Phidget hardware control library, enabling Python applications to communicate with Phidget sensors, controllers, and interface boards over USB and other connections. The library ships with precompiled native binaries for Windows, Linux, and macOS, making installation straightforward for most users; however, some hardware types (particularly HID USB Phidgets on macOS) may require additional system-level setup. The package has no runtime Python dependencies, keeping your environment clean. Typical use involves importing the library, discovering connected Phidget devices, and then reading sensor data or controlling outputs through the device API. The library is maintained actively and carries no known security vulnerabilities, making it a stable choice for projects that need to integrate Phidget hardware into Python applications. Use it for: - Read sensor data (temperature, humidity, motion, etc.) from Phidget devices in real-time monitoring or data-logging applications. - Control Phidget output devices (relays, LEDs, motors) from Python scripts or applications. - Build embedded systems or IoT prototypes that combine Phidget hardware with Python logic. - Integrate Phidget devices into laboratory or scientific measurement setups. - Automate hardware testing or calibration workflows using Phidget sensors and controllers. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Phidget22 is the official Python library for communicating with Phidget hardware devices, providing lightweight bindings to the native phidget22 library for sensor and controller interfacing. Yes, if you are working with Phidget hardware. The library is the official, actively maintained binding for Python; it has low install friction, no runtime dependencies, permissive licensing, and zero known vulnerabilities. The main gotcha is platform-specific setup for certain hardware types on macOS, which is documented. For non-Phidget projects, it is not applicable. ## Install pip install phidget22 uv add phidget22 poetry add phidget22 ## Installing phidget22 Before you install: Installation is straightforward via pip with low friction; the package includes native libraries for Windows, Linux, and macOS. Last release was 128 days ago and maintenance status is active. License in practice: Licensed under BSD-3-Clause (permissive), so you can use, modify, and distribute this library with minimal legal restrictions as long as you include the license notice. Quickstart: pip install phidget22 import phidget22 # Connect to and interact with Phidget hardware devices HID USB Phidgets on macOS require separate installation of macOS libraries or the Standalone Control Panel; other Phidget types (PHIDUSB, VINT) do not. Non-Windows/Linux/macOS systems require manual native library installation. Verify before relying: - Specific Python version support (requires_python field is unspecified in metadata) - Whether the package actively maintains compatibility with Python 2 (classifiers list it, but Python 2 is end-of-life) ## Package facts - License: BSD-3-Clause (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 613.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags phidget hardware control python, phidget sensor interface library, phidget usb device communication, phidget22 python bindings, phidget data acquisition, embedded device control python, hardware-control, iot, sensor-interface [View on SkillFed](https://skillfed.io/packages/phidget22) · [View on PyPI](https://pypi.org/project/phidget22/)