Skip to main content

Quickly create simple background services (i.e., launchctl agents) for macOS.

Project description

Launchctl-Py

🚀 Quickly create super basic background services (i.e., launchctl agents) for macOS in Python.

Supported Python versions PEP8 platform

Requirements

⬇️ Installation

pip install launchctl-py

⌨️ Usage

usage: lpy [-h] [-c] [-s]

optional arguments:
  -h, --help    show this help message and exit
  -c, --create  Create a new launchctl agent
  -s, --status  Get the status of the agents you created

💡 Misc.

Optional: if you want the domain name of your agents to be something other than local (default), run:

launchctl setenv DEFAULT_DOMAIN "ReplaceMe"
echo 'setenv DEFAULT_DOMAIN ReplaceMe' >> ~/.conf.launchd

...
👷 Additional features are under development...
...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

launchctl-py-0.1.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

launchctl_py-0.1.2-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page