sleep/wake display
Project description
Install
$ [sudo] pip install mac-display
Functions
function | description |
---|---|
mac_display.sleep() |
put your display to sleep |
mac_display.sleeping() |
return True if display is sleeping |
mac_display.wake() |
wake from sleep |
CLI
usage | description |
---|---|
python -m mac_display.sleep |
put your display to sleep |
python -m mac_display.sleeping |
print true if display is sleeping, else false |
python -m mac_display.wake |
wake from sleep |
Examples
>>> import mac_display
>>> mac_display.sleep()
>>> mac_display.sleeping()
True
>>> mac_display.wake()
>>> mac_display.sleeping()
False
readme-md - README.md generator
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
mac-display-2018.11.19.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for mac_display-2018.11.19-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 263dbf8642c8ef5eb1f07d90de6838a7be7f9de64f08f2785ebdae214a564fb9 |
|
MD5 | d8d51c3ab16f45903b26df263136939b |
|
BLAKE2b-256 | 102799927a9cc8222c4bd9d2b8c1d7ae96b7e70c7966ef5fa8fec974c5d35cc0 |