Disable App Nap on macOS >= 10.9
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
appnope-0.1.4.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for appnope-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502575ee11cd7a28c0205f379b525beefebab9d161b7c964670864014ed7213c |
|
MD5 | fce1c130bea358b149830d18dc7c0607 |
|
BLAKE2b-256 | 81295ecc3a15d5a33e31b26c11426c45c501e439cb865d0bff96315d86443b78 |