pyobjc-framework-libxpc
Wrappers for xpc on macOS
What it is and what it does
pyobjc-framework-libxpc is a thin wrapper layer that exposes Apple's XPC inter-process communication framework to Python developers on macOS. It does not include its own documentation; instead, it relies on Apple's official XPC documentation and PyObjC's general translation guidance to explain how to use the framework.
The package is built on top of pyobjc-core and pyobjc-framework-Cocoa, which handle the low-level Objective-C bridging. It is intended for developers who need to communicate with XPC services from Python on macOS—a use case common in system utilities, daemon management, and macOS-specific automation. The package supports modern Python versions (3.10 through 3.15) and includes free-threading variants for Python 3.13+.
Use it for:
- Build macOS system utilities that communicate with XPC services for privileged operations or inter-process messaging.
- Automate macOS workflows by calling XPC-based services from Python scripts.
- Integrate Python applications with native macOS daemons or background services via XPC.
- Develop cross-process debugging or monitoring tools on macOS that rely on XPC for service discovery.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to the macOS XPC inter-process communication framework through PyObjC, enabling Python code to interact with XPC services on macOS.
Yes, if you are developing on macOS and need XPC interoperability. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and is production-stable. Install friction is moderate due to platform specificity, but that is inherent to XPC itself. Not applicable on non-macOS systems.
Install
pyobjc-framework-libxpc on PyPI
pip
pip install pyobjc-framework-libxpcuv
uv add pyobjc-framework-libxpcpoetry
poetry add pyobjc-framework-libxpcInstalling pyobjc-framework-libxpc
Before you install
Medium install friction due to platform specificity—wheels are available for macOS only across Python 3.10–3.15, including free-threading variants. Active maintenance with a recent release (3 days old) and steady repository activity support reliability.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it safe to adopt in most projects.
Quickstart
pip install pyobjc-framework-libxpc
from pyobjc_framework_libxpc import xpc
# Access XPC services via the framework bindings
Requires macOS; wheels are platform-specific and will not install on Linux or Windows.
Verify before relying
- Whether XPC service discovery and connection patterns are documented in PyObjC's general guides or require external Apple documentation.
- Whether the package supports concurrent XPC calls or has threading constraints.
- What specific XPC operations and APIs are exposed through this wrapper.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 2 — pyobjc-core, pyobjc-framework-Cocoa |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 639,047/month — #5,617 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_libxpc-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_libxpc-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_libxpc-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_libxpc-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_libxpc-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_libxpc-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_libxpc-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_libxpc-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_libxpc-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Keywords: PyObjC, xpc
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-SafariServicesProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-libdispatchProvides Python bindings to macOS's libdispatch…
permissive · top 5,000 on PyPI
pyobjc-framework-CallKitProvides Python bindings for Apple's CallKit…
permissive · top 15,000 on PyPI
pyobjc-framework-MultipeerConnectivityProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-BusinessChatProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-ExceptionHandlingProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
pyobjc-framework-ColorSyncProvides Python bindings to macOS's ColorSync…
permissive · top 15,000 on PyPI
pyobjc-framework-ThreadNetworkProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI