Skip to main content

Install

$ [sudo] pip install mac-desktop

Functions

function __doc__
mac_desktop.toggle() toggle Desktop (show/hide)
mac_desktop.visibility() return Desktop visibility percentage (0..1)

CLI

usage __doc__
python -m mac_desktop.toggle toggle Desktop (show/hide)
python -m mac_desktop.visibility print Desktop visibility percentage (0..1)

Examples

>>> import mac_desktop
>>> if mac_desktop.visibility()<0.7:    # Desktop hidden?
...     mac_desktop.toggle()            # show Desktop

readme-md - README.md generator

Download files

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

Source Distribution

mac-desktop-2019.2.28.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mac_desktop-2019.2.28-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mac-desktop-2019.2.28.tar.gz.

File metadata

  • Download URL: mac-desktop-2019.2.28.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for mac-desktop-2019.2.28.tar.gz
Algorithm Hash digest
SHA256 2671e8661db1a1982af8f2121b549346f6c0f866d0648cb0bd591337884e3291
MD5 b4a61a6474bdd5eb3a6d964ce88b1ef1
BLAKE2b-256 1fb9f80f84a4a756c6acd430c36c7a615320aaf557a7d0565b0936f5c422825a

See more details on using hashes here.

File details

Details for the file mac_desktop-2019.2.28-py2.py3-none-any.whl.

File metadata

  • Download URL: mac_desktop-2019.2.28-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for mac_desktop-2019.2.28-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 af10275f020e53aebf09e79de7e4f8b3be01a50e3fa67174c1b1d9062ceea5ab
MD5 cc6dd169417e1a5f930dd507c1dc5c88
BLAKE2b-256 a26acfdc0a648d5f5c5a390585820042d096e6a9961feda1c5bcc01cbb9646c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page