launchd.plist generator
Project description
Install
$ [sudo] pip install launchd-plist
Features
- based on launchd.plist keys
Classes
launchd_plist.Plist
launchd plist class
method | description |
---|---|
create(path) |
create .plist file |
load(path) |
load data from .plist file |
@property | description |
---|---|
data |
return dictionary with launchd plist keys only |
Examples
>>> class MyPlist(launchd_plist.Plist):
Label = "MyPlist"
StartInterval = 1
@property
def StandardErrorPath(self):
return "path/to/logs/%s/err.log" % self.Label
>>> MyPlist().create('path/to/launchagent.plist')
>>> launchd_plist.KEYS
['Label', ..., 'Sockets']
Links
readme-md - README.md generator
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 launchd_plist-2018.11.19-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da358ecf335e82aa54b03467343a75a7f5d44380fec45e2c5717efbaff577134 |
|
MD5 | e1bc85b9629d962d0712e97911685219 |
|
BLAKE2b-256 | fdc009af1650d2826d073b7c5e52e9af9dd019e1e1af6c9d45663deec8b0abe1 |