manager for macos launchd services
Project description
onginred
Onginred is a Python project that programmatically defines, configures, and manages macOS launchd services. Its core purpose is to provide a structured, Pythonic interface for building and installing launchd property lists (.plist files), which are used by macOS to manage background agents and daemons.
Meaning
onginred /ˈɒn.kɪn.rɛd/
- the act of guiding the beginning of a task, journey, or enterprise From Anglish, from Old English onginrǣd, a compound of ongin ("beginning, undertaking") and rǣd ("counsel, advice, plan").
Core capabilities:
-
Define launch configurations using Pydantic models and Python data structures instead of writing raw XML property lists.
-
Support for time-based scheduling, file system triggers, sockets, Mach services, and more via composable classes:
TimeTriggers,FilesystemTriggers,EventTriggers, andLaunchBehavior.
-
Export to valid
launchd.plistformat usingplistlib. -
Installation and removal of launch agents using
launchctl. -
Support for advanced features like suppression windows, cron expressions, socket configurations, and restart conditions.
Quick start
from onginred.schedule import LaunchdSchedule
from onginred.service import LaunchdService
sched = LaunchdSchedule()
sched.add_cron("0 12 * * *")
svc = LaunchdService("com.example.hello", ["echo", "hello"], sched)
svc.install()
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onginred-0.1.0.tar.gz.
File metadata
- Download URL: onginred-0.1.0.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7d0b5c85592df2cbcfcf2487f94b4ed15f818fca7c4e946ce2333b5b3ae96b2
|
|
| MD5 |
7cef80a389abddd807da75c2ad261d80
|
|
| BLAKE2b-256 |
2ac2b8171fed906d05429be08391c3157e7348be2e7934ad473f44e45abdb9e7
|
File details
Details for the file onginred-0.1.0-py3-none-any.whl.
File metadata
- Download URL: onginred-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01f19d22d4b9a8502a73ae3c393e43cec988197f17c6f98bf974c9d044f4da07
|
|
| MD5 |
5dd19005ee663437bfb0489a01aa4f7d
|
|
| BLAKE2b-256 |
d47a7d09589bc652234307a58654d19ac9e3b376988d976c53b7f735da7566aa
|