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'
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
Built Distribution
Close
Hashes for mac_slideshow-2019.3.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5419d562e02648c5c5c8953cda066fc74cae2602979c62bcce0da03c2da5067b |
|
MD5 | 79696938319597e9e1495c6c21dd24d1 |
|
BLAKE2b-256 | b3be6880b072d04f91bf9c8e23b110c57bc8c22327ef8a2ca191281b9d0a5f73 |