$npx skillfedfor your agent

appnope

Disable App Nap on macOS >= 10.9

With conditionsPyPI UtilitiesReleased Feb 20249.8M downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — appnope-0.1.4-py2.py3-none-any.whl
v0.1.4 · released 2024-02-06 · Python >=3.6

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

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
Same gist for agents: .md · .json

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.

With conditions

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

LicenseBSD permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 920 days since the last release
Last repo commit
First released
Downloads9,808,896 / month, #1,500 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
disable app nap macosmacos performance degradationprevent app nap pythonmacos system activity controllong-running tasks macosnsprocessinfo wrapper
Topics
macos-specificperformance-tuning

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”

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

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.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

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.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo

See also pyobjc-framework-MediaAccessibility · pyobjc-framework-MediaLibrary · dlinfo · setproctitle · wakepy · timeout-decorator · pyobjc-framework-InstantMessage · readline · django-zen-queries · gspread-asyncio