{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: Public Domain", "Operating System :: MacOS", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n\n[![](https://img.shields.io/badge/OS-MacOS-blue.svg?longCache=True)]()\n[![](https://img.shields.io/pypi/pyversions/launchctl.svg?longCache=True)](https://pypi.org/project/launchctl/)\n\n#### Installation\n```bash\n$ [sudo] pip install launchctl\n```\n\n#### Classes\nclass|`__doc__`\n-|-\n`launchctl.Job` |launchctl Job class. attrs: `pid`, `status`, `label`\n\n#### Functions\nfunction|`__doc__`\n-|-\n`launchctl.job(label)` |return launchctl Job by label\n`launchctl.jobs()` |return a list of launchctl jobs\n`launchctl.load(args)` |`launchctl load args ...`\n`launchctl.remove(label)` |`launchctl remove label`\n`launchctl.start(label)` |`launchctl start label`\n`launchctl.stop(label)` |`launchctl stop label`\n`launchctl.unload(args)` |`launchctl unload args ...`\n\n#### Examples\n```python\nimport launchctl\n\nfor job in launchctl.jobs():\n print(\"%s %s %s\" % (job.pid if job.pid else \"\", job.status, job.label))\n\nlaunchctl.job(\"com.apple.Finder\")\n{...}\n```\n\n#### Related projects\n+ [`launchd-env` - launchd.plist environment variables](https://pypi.org/project/launchd-env/)\n+ [`launchd-exec` - execute script via launchd](https://pypi.org/project/launchd-exec/)\n+ [`launchd-generator` - launchd.plist generator](https://pypi.org/project/launchd-generator/)\n+ [`launchd-logs` - launchd.plist logs](https://pypi.org/project/launchd-logs/)\n+ [`launchctl.py`](https://pypi.org/project/launchctl/)\n\n#### Links\n+ [launchctl Man Page](https://ss64.com/osx/launchctl.html)\n\n

\n python-readme-generator\n

", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/looking-for-a-job/launchctl.py", "keywords": "launchctl launchd", "license": "", "maintainer": "", "maintainer_email": "", "name": "launchctl", "package_url": "https://pypi.org/project/launchctl/", "platform": "", "project_url": "https://pypi.org/project/launchctl/", "project_urls": { "Homepage": "https://github.com/looking-for-a-job/launchctl.py" }, "release_url": "https://pypi.org/project/launchctl/2019.4.13/", "requires_dist": null, "requires_python": "", "summary": "launchctl python interface", "version": "2019.4.13" }, "last_serial": 5587874, "releases": { "2019.3.12": [ { "comment_text": "", "digests": { "md5": "a444911ea16424f37da049af539e17e1", "sha256": "7c75ded680153a8e2d3330d803021279a2a0cf8a44774af726f65c3de33bfe30" }, "downloads": -1, "filename": "launchctl-2019.3.12-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a444911ea16424f37da049af539e17e1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2829, "upload_time": "2019-03-12T08:19:33", "url": "https://files.pythonhosted.org/packages/6a/25/0a6ecf51d93a56316c6c70bd540798223340bdf2ff1cada529f739c4346c/launchctl-2019.3.12-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72ff4bc73d01ac9f45d4679c97e5994e", "sha256": "c06b56d0796a2afa0fa538e686d6ebb06dfa3fa2664cb8d2310314fbf4212aa7" }, "downloads": -1, "filename": "launchctl-2019.3.12.tar.gz", "has_sig": false, "md5_digest": "72ff4bc73d01ac9f45d4679c97e5994e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2117, "upload_time": "2019-03-12T08:19:35", "url": "https://files.pythonhosted.org/packages/28/03/8b50a368f7b1d7182feebb9303b1869e44d726c95d517390d5b5c060ab0e/launchctl-2019.3.12.tar.gz" } ], "2019.3.22": [ { "comment_text": "", "digests": { "md5": "f830d67e5320fe5787c80515f025b10d", "sha256": "03b314d96cdb36e3df96d12e736371ed8e7c4670f98a27796e7eeeb54b8adc62" }, "downloads": -1, "filename": "launchctl-2019.3.22-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f830d67e5320fe5787c80515f025b10d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 70421, "upload_time": "2019-03-24T11:07:28", "url": "https://files.pythonhosted.org/packages/88/0c/b2628f9993362f17f159f452e379b3474a7eaa9b43c949a056ea8796a58e/launchctl-2019.3.22-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "def2df238b5f606a0f123a5cfe74c3d4", "sha256": "5f34f8767dad3b784625ba595fb26e4602c7e5698fae4944135996ec63cf51f9" }, "downloads": -1, "filename": "launchctl-2019.3.22.tar.gz", "has_sig": false, "md5_digest": "def2df238b5f606a0f123a5cfe74c3d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2275, "upload_time": "2019-03-24T11:07:29", "url": "https://files.pythonhosted.org/packages/5c/e7/fe3333b5e2bdc3e01ae6db7b4f201d6f7cc630ddf3e918d744f52ae57be0/launchctl-2019.3.22.tar.gz" } ], "2019.4.13": [ { "comment_text": "", "digests": { "md5": "6f73985d5b1fb894a01439882556d209", "sha256": "f48d81596f0aff3e32c677a29e312f63f6f62479bcfb729c950ee2ca6a84eb55" }, "downloads": -1, "filename": "launchctl-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "6f73985d5b1fb894a01439882556d209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2313, "upload_time": "2019-04-13T08:03:38", "url": "https://files.pythonhosted.org/packages/f8/46/16279b33af0fc81bf66c56c5f7b4d9a372cce2007ab30c395f33517bdfff/launchctl-2019.4.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6f73985d5b1fb894a01439882556d209", "sha256": "f48d81596f0aff3e32c677a29e312f63f6f62479bcfb729c950ee2ca6a84eb55" }, "downloads": -1, "filename": "launchctl-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "6f73985d5b1fb894a01439882556d209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2313, "upload_time": "2019-04-13T08:03:38", "url": "https://files.pythonhosted.org/packages/f8/46/16279b33af0fc81bf66c56c5f7b4d9a372cce2007ab30c395f33517bdfff/launchctl-2019.4.13.tar.gz" } ] }