Skip to main content

macOS slideshow screensaver

Project description

Installation

$ [sudo] pip install mac-slideshow

Classes

class __doc__
mac_slideshow.Process ScreenSaver process object

Functions

function __doc__
mac_slideshow.enable() enable iLifeSlideshow screensaver
mac_slideshow.enabled() return True if iLifeSlideshow screensaver enabled
mac_slideshow.restart(path=None) restart screensaver and return Process object
mac_slideshow.path.read() return iLifeSlideShows images folder path
mac_slideshow.path.write(path) write iLifeSlideShows images folder path
mac_slideshow.preferences.read(key) return preferences value
mac_slideshow.preferences.write(key, value) write preferences value
mac_slideshow.style.read() return iLifeSlideShows style
mac_slideshow.style.write(style) write iLifeSlideShows style

CLI

usage __doc__
python -m mac_slideshow.path [path] read/write iLifeSlideShows screensaver path
python -m mac_slideshow.start [path] start iLifeSlideshows screensaver
python -m mac_slideshow.style [style] read/write iLifeSlideShows screensaver style

Examples

>>> import mac_slideshow
>>> ss = mac_slideshow.start()
>>> ss.pid # or mac_slideshow.pid()
1234
>>> ss.stop()  # or mac_slideshow.stop()

set images path and start/restart

>>> ss = mac_slideshow.start("~/Library/Screen Savers/folder")

preferences

>>> mac_slideshow.path.write("path/to/images")
>>> mac_slideshow.path.read()
'path/to/images'

>>> mac_slideshow.style.write("Classic")
>>> mac_slideshow.style.read()
'Classic'

readme-generator

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

mac-slideshow-2019.3.22.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

mac_slideshow-2019.3.22-py2.py3-none-any.whl (119.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mac-slideshow-2019.3.22.tar.gz.

File metadata

  • Download URL: mac-slideshow-2019.3.22.tar.gz
  • Upload date:
  • Size: 3.1 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-slideshow-2019.3.22.tar.gz
Algorithm Hash digest
SHA256 726a94cffb43eb9483d40cdddf284b53151cafd3d0dc951423141d53ffd8b553
MD5 bded91052a961f4e303eb4e57eac8c43
BLAKE2b-256 c447d475bec7cc7850f0ff9f6a766399c0c221f91bc97e399d3611db63b1a08e

See more details on using hashes here.

File details

Details for the file mac_slideshow-2019.3.22-py2.py3-none-any.whl.

File metadata

  • Download URL: mac_slideshow-2019.3.22-py2.py3-none-any.whl
  • Upload date:
  • Size: 119.1 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_slideshow-2019.3.22-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5419d562e02648c5c5c8953cda066fc74cae2602979c62bcce0da03c2da5067b
MD5 79696938319597e9e1495c6c21dd24d1
BLAKE2b-256 b3be6880b072d04f91bf9c8e23b110c57bc8c22327ef8a2ca191281b9d0a5f73

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