launchdman is a parser and manager for launchd, the service management framework used by macOS. If you want to schedule to run certain tasks or programs, or run them in certain conditions, launcd is what you use on macOS. launchdman lets you build your configurations and manage(add, remove, group, etc) them on the fly.
Inspired by schedule module.
Features
A simple to use API for creating and managing launchd configurations.
Very lightweight and no external dependencies.
Quick Start
pip3 install launchdman
from launchdman import *
# Label and Program are must-haves
job.add(Label('job'), Program('/usr/local/bin/job'))
# I want it to run at load
job.add(RunAtLoad())
# write to plist
job.write()
# add a configuration
job.add(StartInterval().every(10).minute)
# remove a configuration
job.remove(RunAtLoad())
Documentation
For documentation, check ReadTheDocs
Metadata
Release files for launchdman 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| launchdman-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for launchdman-0.1.2-py3-none-any.whl |
Release files / launchdman-0.1.2-py3-none-any.whl
| Download URL | launchdman-0.1.2-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0d5ca4ff88c396cfd549d59609a13020a891986a506c61bc07aa2c4efb4d1cd
|
|
BLAKE2b-256 checksum How to use checksums |
142fdf55e56425632260abfa86f66dec3cc5555d007d6c808f9c3d55d0d54fd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for launchdman 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.