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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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