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:

```python
import appnope
appnope.nope()
```

To reenable, for some reason:

```python
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, just:

pip install appnope

or

pip install -e git+https://github.com/minrk/appnope#egg=appnope

Project details


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.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

appnope-0.1.0-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file appnope-0.1.0.tar.gz.

File metadata

  • Download URL: appnope-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for appnope-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71
MD5 932fbaa73792c9b06754755a774dcac5
BLAKE2b-256 26340f3a5efac31f27fabce64645f8c609de9d925fe2915304d1a40f544cff0e

See more details on using hashes here.

File details

Details for the file appnope-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for appnope-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5b26757dc6f79a3b7dc9fab95359328d5747fcb2409d331ea66d0272b90ab2a0
MD5 a73064be99839b9534b4da47a16c9c46
BLAKE2b-256 87a97985e6a53402f294c8f0e8eff3151a83f1fb901fa92909bb3ff29b4d22af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page