Skip to main content

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)

Table of built distributions (wheels) for launchdman 0.1.2
File Interpreter ABI Platform
launchdman-0.1.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

2 release files

0.1

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page