Disable App Nap on macOS >= 10.9
Project Links
Meta
Author: Min Ragan-Kelley
Requires Python: >=3.9
Classifiers
Intended Audience
- Developers
Operating System
- MacOS
Programming Language
- Python
- Python :: 3
appnope
Simple package for disabling App Nap on macOS >= 10.9, which can be problematic.
To disable App Nap for the current process:
import appnope
appnope.nope()
To reenable, for some reason:
appnope.nap()
or to only disable App Nap for a particular block:
with appnope.nope_scope():
do_important_stuff()
It uses ctypes to wrap a [NSProcessInfo beginActivityWithOptions] call to disable App Nap.
To install:
pip install appnope
1.0.0
Aug 20, 2026
0.2.0
Aug 20, 2026
0.1.4
Feb 06, 2024
0.1.3
Apr 04, 2022
0.1.2
Dec 01, 2020
0.1.1
Dec 01, 2020
0.1.0
Oct 07, 2014
0.0.7
Sep 04, 2014
0.0.6
Mar 26, 2014
0.0.5
Nov 13, 2013
0.0.4
Nov 13, 2013
0.0.3
Nov 05, 2013
0.0.2
Oct 30, 2013
0.0.1
Oct 29, 2013
Wheel compatibility matrix
Files in release
No dependencies