skillfed

pyobjc-framework-libxpc

Wrappers for xpc on macOS

pyobjc-framework-libxpc v12.2.2 639.0K downloads/30d#5,617 on PyPI803
Permissive license MIT Active released

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-libxpc

uv

uv add pyobjc-framework-libxpc

poetry

poetry add pyobjc-framework-libxpc

Installing 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

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 XPC bindingsinter-process communication pythonpyobjc xpc frameworkmacos service communicationobjective-c xpc wrapper
macos-specificipcobjective-c-bridge

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-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-libdispatch

Provides Python bindings to macOS's libdispatch…

permissive · top 5,000 on PyPI

pyobjc-framework-CallKit

Provides Python bindings for Apple's CallKit…

permissive · top 15,000 on PyPI

pyobjc-framework-MultipeerConnectivity

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-BusinessChat

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-ExceptionHandling

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-ColorSync

Provides Python bindings to macOS's ColorSync…

permissive · top 15,000 on PyPI

pyobjc-framework-ThreadNetwork

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI