{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Disables App Nap on macOS >= 10.9 to prevent performance degradation during long-running operations, using ctypes to wrap NSProcessInfo system calls.","skillfed_tags":["macos-specific","performance-tuning"],"use_cases":["Prevent App Nap during long-running data processing or scientific computations on macOS.","Ensure consistent performance for background services or daemons running on macOS systems.","Disable App Nap around critical test suites or benchmarks to avoid timing interference.","Protect specific code blocks from throttling while keeping App Nap enabled elsewhere in the application."],"what_it_does":"appnope is a lightweight utility for macOS developers who need to prevent the operating system from throttling their Python applications. On macOS >= 10.9, the App Nap feature automatically reduces CPU and I/O for backgrounded applications to save power, which can cause performance problems for long-running tasks. appnope wraps the native NSProcessInfo API using ctypes to temporarily disable App Nap around critical code sections.\n\nThe package provides three ways to control App Nap: a simple toggle function to disable it globally, a function to re-enable it, and a context manager for scoped disabling. It has no external dependencies and installs as a pure Python wheel, making it trivial to add to any macOS-based project that needs predictable performance during intensive operations.","worth_installing":"Yes, if you develop or run Python applications on macOS that perform long-running or performance-sensitive tasks. The package is actively maintained, has no dependencies, and solves a real macOS-specific problem. Not relevant for non-macOS environments."},"id":"appnope","links":{"html":"https://skillfed.io/packages/appnope","md":"https://skillfed.io/packages/appnope.md","pypi":"https://pypi.org/project/appnope/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-02-06","license_spdx":null,"license_treatment":"permissive","name":"appnope","python_support":"supports_current","summary":"Disable App Nap on macOS >= 10.9"},"popularity":{"monthly_downloads":9808896,"position":1500,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.4"}
