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 |
Executable modules
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
File details
Details for the file mac-slideshow-2019.4.13.tar.gz
.
File metadata
- Download URL: mac-slideshow-2019.4.13.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.9.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a54b02b364584bba2ce2db01c315cb802a9eb8d73bbed5b6fc0a94c48b388ac |
|
MD5 | 00e562050045f57e2ae2f02438e87ad0 |
|
BLAKE2b-256 | 2033700432ec4128ed08751cf2bcd9ef40f0bbf784723a6ef756f3d15fdd9713 |