skillfed

pyobjc-framework-MultipeerConnectivity

Wrappers for the framework MultipeerConnectivity on macOS

pyobjc-framework-multipeerconnectivity v12.2.2 656.3K downloads/30d#5,494 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package wraps Apple's MultipeerConnectivity framework for use in Python, allowing macOS applications to discover and communicate with nearby devices over local networks without requiring internet connectivity. It sits on top of PyObjC's core infrastructure, translating Objective-C framework calls into Python equivalents.

The package is intended for developers building peer-to-peer applications on macOS who want to leverage native framework capabilities from Python. It does not include its own documentation; users must consult Apple's framework documentation alongside PyObjC's general translation guidelines to understand how to use the underlying APIs.

Use it for:

  • Build local multiplayer games or collaborative tools that discover and connect to nearby macOS devices
  • Create file-sharing or data-sync applications that communicate peer-to-peer without a central server
  • Develop IoT or smart-home control applications that communicate with nearby devices on the same network

Worth the install?

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

Provides Python bindings to macOS's MultipeerConnectivity framework, enabling peer-to-peer networking and device discovery on local networks.

Yes, if you are developing on macOS and need peer-to-peer networking. The package is actively maintained, carries no known vulnerabilities, and uses a permissive license. Medium install friction is acceptable given the platform-specific nature. Not applicable on non-macOS systems.

Install

pyobjc-framework-multipeerconnectivity on PyPI

pip

pip install pyobjc-framework-multipeerconnectivity

uv

uv add pyobjc-framework-multipeerconnectivity

poetry

poetry add pyobjc-framework-multipeerconnectivity

Installing pyobjc-framework-MultipeerConnectivity

Before you install

Medium install friction: platform-specific wheels only for macOS (10.9 and later depending on Python version). Requires pyobjc-core and pyobjc-framework-Cocoa as dependencies. Active maintenance with recent releases; last commit 2026-08-14.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install pyobjc-framework-multipeerconnectivity

from MultipeerConnectivity import MCPeerID, MCSession

peer_id = MCPeerID(displayName="MyDevice")

macOS 10.9 or later required; Python 3.10+ required; only runs on macOS (wheels are macOS-only).

Verify before relying

  • Whether MultipeerConnectivity framework features are fully exposed or if some APIs remain unavailable through the wrapper
  • Performance characteristics when handling large numbers of peer connections or high-frequency messaging

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 656,349/month — #5,494 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_multipeerconnectivity-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_multipeerconnectivity-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_multipeerconnectivity-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_multipeerconnectivity-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_multipeerconnectivity-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_multipeerconnectivity-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_multipeerconnectivity-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_multipeerconnectivity-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_multipeerconnectivity-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl

Keywords: PyObjC, MultipeerConnectivity

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 peer to peer networkingmultipeerconnectivity pythonlocal network device discoverypyobjc framework bindingsmacos p2p communicationcocoa framework wrapper
macos-onlypeer-to-peerframework-binding

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

python-olm

Python bindings for the Olm cryptographic…

permissive · top 5,000 on PyPI

pyobjc-framework-ThreadNetwork

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-IOBluetooth

Provides Python bindings to macOS's IOBluetooth…

permissive · top 15,000 on PyPI

pyobjc-framework-DeviceDiscoveryExtension

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-libxpc

Provides Python bindings to the macOS XPC…

permissive · top 15,000 on PyPI

libtorrent

Python bindings for libtorrent-rasterbar,…

permissive · top 15,000 on PyPI

pyobjc-framework-NetworkExtension

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-CFNetwork

Provides Python bindings to macOS's CFNetwork…

permissive · top 15,000 on PyPI

pyroute2

Pyroute2 is a pure Python networking framework…

unclear · top 5,000 on PyPI