Skip to main content

LaunchAgents python interface

Project description

Installation

$ [sudo] pip install launchagents

Features

  • works with ~/Library/LaunchAgents/ only

Functions

function __doc__
launchagents.files() return a list of ~/Library/LaunchAgents/*.plist files
launchagents.jobs() return a list of launchctl jobs for ~/Library/LaunchAgents/*.plist only
launchagents.load() load ~/Library/LaunchAgents/*.plist
launchagents.read(path) return a dictionary with a plist file data
launchagents.unload() unload ~/Library/LaunchAgents/*.plist
launchagents.update(path, **kwargs) update a plist file
launchagents.write(path, data) write a dictionary to a plist file

Links

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

launchagents-2019.3.22.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

launchagents-2019.3.22-py2.py3-none-any.whl (69.3 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