{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/13"}],"enrichment":{"capability":"PyWinBox manages window positions, sizes, and rectangular areas across Windows, macOS, and Linux, exposing properties like left, top, width, height, center, and corner coordinates.","skillfed_tags":["window-management","cross-platform","desktop-automation"],"use_cases":["Programmatically position and resize application windows on multi-monitor setups.","Track or enforce window geometry constraints in a cross-platform desktop tool.","Build custom window tiling or layout managers that work on Windows, macOS, and Linux.","Retrieve current window bounds for logging, testing, or UI automation workflows.","Manage rectangular areas with custom data backends by providing your own callbacks."],"what_it_does":"PyWinBox is a cross-platform library for querying and manipulating window geometry\u2014position, size, and derived properties like center, corners, and midpoints. It abstracts the differences between Windows (via pywin32), macOS (via pyobjc), and Linux (via python-xlib and ewmhlib), letting you read and set window bounds using a uniform API.\n\nYou instantiate a PyWinBox object with a window handle (in the appropriate format for your OS) and optional callback functions. The library then exposes properties like left, top, right, bottom, width, height, center, topleft, bottomright, and others, plus utility structs (Box, Rect, Size, Point) for cleaner data handling. You can use default callbacks to move and resize windows automatically, or provide custom callbacks to integrate with your own window management logic.","worth_installing":"Yes, if you need cross-platform window geometry control. The library is actively maintained, has low install friction, and covers all three major desktop OSes. The permissive BSD license poses no barrier. Start with the default callbacks for simple use cases; define custom ones only if you need to integrate with existing window management. No known vulnerabilities."},"id":"pywinbox","links":{"html":"https://skillfed.io/packages/pywinbox","md":"https://skillfed.io/packages/pywinbox.md","pypi":"https://pypi.org/project/pywinbox/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-04-17","license_spdx":null,"license_treatment":"permissive","name":"PyWinBox","python_support":"unspecified","summary":"Cross-Platform and multi-monitor toolkit to handle rectangular areas and windows box"},"popularity":{"monthly_downloads":199558,"position":9706,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7"}
