{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/4"}],"enrichment":{"capability":"PyMonCtl provides cross-platform Python access to monitor information and control\u2014querying resolution, position, brightness, and orientation, and setting display modes and geometry across Windows, Linux, and macOS.","skillfed_tags":["cross-platform","display-control","hardware-interface"],"use_cases":["Detect which monitor a window is on and query its properties for responsive UI layout.","Automatically arrange multiple monitors into a known configuration on startup or when monitors are plugged in.","Build a display settings utility that lets users change resolution, orientation, or brightness without OS dialogs.","Monitor for hot-plug events in a multi-monitor setup and trigger reconfiguration callbacks.","Query DPI and scale to adapt rendering or font sizes to the actual display.","Set a monitor as primary or reposition displays programmatically in a headless or automated environment."],"what_it_does":"PyMonCtl is a cross-platform Python library for querying and controlling connected monitors. It abstracts over Windows VCP MCCS, Linux Xlib/xrandr, and macOS pmset to provide a unified interface for reading monitor properties (size, position, frequency, color depth, DPI, scale, orientation, brightness, contrast) and changing them (repositioning, resizing, rotating, adjusting brightness). It also includes a watchdog thread that can track monitor plug/unplug events and property changes, notifying registered listeners.\n\nThe library is designed for developers building multi-monitor-aware applications\u2014window managers, display configuration tools, or any software that needs to detect or control the display layout. Most methods work across all three platforms, though some features (like brightness control on Windows) require specific hardware support (VCP MCCS), and some behaviors differ by OS (e.g., Linux allows overlapping monitors while Windows does not).","worth_installing":"Yes, if you need cross-platform monitor control. The package is actively maintained, has no known vulnerabilities, and offers a unified API across Windows, Linux, and macOS. Install friction is low. Be aware that some methods depend on OS-specific hardware support (e.g., VCP MCCS on Windows) and may return None if unavailable; test on your target platforms before relying on brightness or contrast control."},"id":"pymonctl","links":{"html":"https://skillfed.io/packages/pymonctl","md":"https://skillfed.io/packages/pymonctl.md","pypi":"https://pypi.org/project/pymonctl/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-04-22","license_spdx":null,"license_treatment":"permissive","name":"PyMonCtl","python_support":"unspecified","summary":"Cross-Platform toolkit to get info on and control monitors connected"},"popularity":{"monthly_downloads":200258,"position":9696,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.92"}
