Disable App Nap on macOS >= 10.9
Project Links
Meta
Author: Min Ragan-Kelley
Requires Python: >=3.6
Classifiers
License
- OSI Approved :: BSD License
Operating System
- MacOS :: MacOS X
Programming Language
- Python :: 3
appnope
Simple package for disabling App Nap on macOS >= 10.9, which can be problematic.
To disable App Nap:
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
Feb 06, 2024
0.1.4
Apr 04, 2022
0.1.3
Dec 01, 2020
0.1.2
Dec 01, 2020
0.1.1
Oct 07, 2014
0.1.0
Sep 04, 2014
0.0.7
Mar 26, 2014
0.0.6
Nov 13, 2013
0.0.5
Nov 13, 2013
0.0.4
Nov 05, 2013
0.0.3
Oct 30, 2013
0.0.2
Oct 29, 2013
0.0.1
Wheel compatibility matrix
Files in release
No dependencies