Skip to main content

Disable App Nap on OS X 10.9

Project description

# `appnope`

Simple package for disabling App Nap on OS X 10.9,
which can be problematic.

To disable App Nap:

import appnope

To reenable, for some reason:


or to only disable App Nap for a particular block:

with appnope.nope_scope():

It uses ctypes to wrap a `[NSProcessInfo beginActivityWithOptions]` call to disable App Nap.

To install, just:

pip install appnope


pip install -e git+

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for appnope, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size appnope-0.1.0-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size appnope-0.1.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page