Disable App Nap on macOS >= 10.9
Reason this release was yanked:
doesn't include the package
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.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for appnope-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8096c5a6113c971509547ccf1dff1747a940b23e9ce34aff48f8305dbc0e6a0 |
|
MD5 | e36856e7c0fe1f6cba0c567e23958c05 |
|
BLAKE2b-256 | 644d6d86701fe26b4694dcdb82ebe731a734e4efafe4b0b8b916131a8d803426 |