skillfed

pyobjc-framework-ServiceManagement

Wrappers for the framework ServiceManagement on macOS

pyobjc-framework-servicemanagement v12.2.2 652.8K downloads/30d#5,540 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package wraps Apple's ServiceManagement framework, which provides a secure, object-oriented interface to macOS system services and launchd. It allows Python developers to interact with the system services subsystem directly from Python code, bridging the gap between Python and Objective-C APIs. The package is part of the PyObjC project and relies on pyobjc-core and pyobjc-framework-Cocoa to function.

The framework is most useful for macOS-specific automation, daemon management, and system integration tasks. Since it is a thin wrapper around Apple's native framework, it does not include its own documentation—users must consult Apple's ServiceManagement documentation alongside PyObjC's general translation guides to understand how to use it effectively.

Use it for:

  • Programmatically register or manage background services and daemons on macOS from Python applications.
  • Integrate Python tools with launchd to schedule or control system-level tasks.
  • Build macOS system administration or automation scripts that need direct ServiceManagement API access.
  • Create Python-based macOS applications that require secure service management capabilities.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to macOS's ServiceManagement framework, enabling programmatic control over system services and launchd integration from Python.

Yes, if you are developing on macOS and need to interact with system services or launchd from Python. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Install friction is low and it supports current Python versions (3.10+). Only caveat: it is macOS-only and requires understanding of both Apple's ServiceManagement framework and PyObjC's Objective-C translation conventions.

Install

pyobjc-framework-servicemanagement on PyPI

pip

pip install pyobjc-framework-servicemanagement

uv

uv add pyobjc-framework-servicemanagement

poetry

poetry add pyobjc-framework-servicemanagement

Installing pyobjc-framework-ServiceManagement

Before you install

Low friction installation with a pure-wheel distribution. Actively maintained as of 3 days ago with recent commits and stable production status. Requires pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open and closed-source projects.

Quickstart

pip install pyobjc-framework-servicemanagement

from ServiceManagement import SMAppService
# Access ServiceManagement framework classes and methods

macOS only; requires Python 3.10 or later and a Mac system with the ServiceManagement framework available.

Verify before relying

  • Whether the framework covers all ServiceManagement APIs available in current macOS versions or if some are omitted.
  • Whether additional system-level permissions or entitlements are required to use certain ServiceManagement features from Python.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — pyobjc-core, pyobjc-framework-Cocoa
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 652,817/month — #5,540 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_servicemanagement-12.2.2-py2.py3-none-any.whl

Keywords: PyObjC, ServiceManagement

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS X :: CocoaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOS :: MacOS XProgramming Language :: Objective CProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: Free Threading :: 3 - StableProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces

Tags

macOS launchd python bindingssystem services management macospyobjc servicemanagement frameworkmacos service control pythonlaunchd integration python
macos-onlysystem-integrationlaunchd

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

pyobjc-framework-SystemConfiguration

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-SystemExtensions

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-NetworkExtension

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-DeviceDiscoveryExtension

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-NotificationCenter

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-AppleScriptObjC

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-KernelManagement

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-LinkPresentation

Provides Python bindings for macOS's…

permissive · top 15,000 on PyPI