Skip to main content

plunchy

https://img.shields.io/pypi/v/plunchy.svg

plunchy is a simple interface into OS X’s launchctl. It is based on the idea behind Mike Perham’s lunchy (link) Ruby script, though there are a few small differences between the two:

  1. By default, plunchy does not install items into the system’s LaunchAgents folders. Unless you jump through hoops, items in those folders are automatically started at system boot, defeating the purpose of managing startup and shutdown for your launch agents.

  2. Also by default, if you do want a file to be installed in a LaunchAgents folder, plunchy will symlink the file, rather than copy it. This allows you to automatically receive updates if the launch agent is updated.

plunchy does want to maintain the simplicity of the original, however, so the available commands largely mirror lunchy’s:

  • ls [pattern] List all launch agents, or only ones matching the given pattern.

  • list [pattern] Alias for ls

  • start {pattern} Start the launch agent matching the given pattern.

  • stop {pattern} Stop the launch agent matching the given pattern.

  • restart {pattern} Restart the launch agent matching the given pattern.

  • status {pattern} Display the status of all launch agents matching the pattern.

  • show {pattern} See the launch agent with the specified pattern

  • edit {pattern} Edit the launch agent with the specified pattern

The main area where plunchy differs, however, is in the installation of scripts. plunchy provides the following commands for installing scripts:

  • install {path} Add the agent to ~/.plunchy to be started/stopped manually

  • link {path} Install the agent into ~/Library/LaunchAgents via symlink (*)

  • copy {path} Install the agent into ~/Library/LaunchAgents via file copy (*)

(*) Doing this means the launch agent will be loaded/started when the system boots up.

Installation

The easiest way to install plunchy is via pip:

pip install plunchy

License

plunchy is MIT licensed. Please see the included LICENSE file.

Authors

Metadata

Release files for plunchy 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plunchy 1.1.0
File Size Uploaded Provenance Actions
plunchy-1.1.0.tar.gz 5.3 kB Without provenance Details for plunchy-1.1.0.tar.gz

Release files / plunchy-1.1.0.tar.gz

Download URL plunchy-1.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
29290badc4f7170833cbd42d40f0ffa6535bb6f7284e7985b7aba9d62300ddf2
BLAKE2b-256 checksum
How to use checksums
d4012debff92be0d102fa6e295db56370a63f08b53b5882a8a77c166bf0e000a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for plunchy 1.1.0

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.

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