appnope
Disable App Nap on macOS >= 10.9
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- macOS >= 10.9 required; package is macOS-only and will not function on other operating systems.
- Low friction install with no runtime dependencies.
- Actively maintained as of 2026-08-03.
License · maintenance · safety
BSD (permissive) — BSD license is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions.
last release 2024-02-06 (920 days) · last repo commit 2026-08-03 · 58 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,808,896 downloads/mo, #1,500 on PyPI
Alternatives
Verify before relying
pip install appnope
import appnope
appnope.nope() # disable App Nap
# or use as context manager
with appnope.nope_scope():
do_important_stuff()- Whether App Nap behavior or system integration has changed in recent macOS versions beyond 10.9
What it is and 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.
The 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
appnope on PyPI
Before you install
Low friction install with no runtime dependencies. Actively maintained as of 2026-08-03.
macOS >= 10.9 required; package is macOS-only and will not function on other operating systems.
License in practice
BSD license is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions.
Quickstart
pip install appnope
import appnope
appnope.nope() # disable App Nap
# or use as context manager
with appnope.nope_scope():
do_important_stuff()
Verify before relying
- Whether App Nap behavior or system integration has changed in recent macOS versions beyond 10.9
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 920 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 9,808,896 / month, #1,500 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseOperating System :: MacOS :: MacOS XProgramming Language :: Python :: 3 |
Evidence: appnope-0.1.4-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “disable app nap macos”
- appnopeDisables App Nap on macOS >= 10.9 to prevent performance degradation…
- pyobjc-framework-AppTrackingTransparencyProvides Python bindings to macOS's AppTrackingTransparency…
- mitmproxy-macosProvides macOS-specific helper applications and network extension…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also pyobjc-framework-MediaAccessibility · pyobjc-framework-MediaLibrary · dlinfo · setproctitle · wakepy · timeout-decorator · pyobjc-framework-InstantMessage · readline · django-zen-queries · gspread-asyncio