pyobjc-framework-Network
Wrappers for the framework Network on macOS
What it is and what it does
pyobjc-framework-network is a thin wrapper layer that exposes Apple's native Network framework to Python developers on macOS. It sits on top of PyObjC's core bridge infrastructure and the Cocoa framework bindings, translating Objective-C classes and methods into Python equivalents so you can call Network framework APIs directly from Python code.
The package is primarily useful for macOS-specific applications that need low-level networking control—things like custom protocol handling, advanced socket configuration, or integration with system-level networking features. It does not include its own documentation; you rely on Apple's Network framework documentation and PyObjC's general translation guide to understand how to use the exposed APIs. This is a straightforward bridge, not a high-level abstraction, so you are working with the same concepts and patterns as you would in Objective-C or Swift.
Use it for:
- Build macOS desktop applications that need direct access to Apple's Network framework for custom protocol implementation.
- Integrate Python scripts with system-level networking features on macOS that are not available through standard Python libraries.
- Develop tools that require low-level socket or connection management on macOS using Python.
- Create macOS automation or system utilities that leverage native networking capabilities.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Apple's Network framework on macOS, enabling direct access to low-level networking APIs from Python code.
Yes, if you are developing on macOS and need direct access to Apple's Network framework. The package is actively maintained, production-stable, has no known vulnerabilities, and covers modern Python versions. Install friction is moderate due to platform and architecture specificity, but that is inherent to any macOS-native binding. Not applicable for cross-platform projects or non-macOS development.
Install
pyobjc-framework-network on PyPI
pip
pip install pyobjc-framework-networkuv
uv add pyobjc-framework-networkpoetry
poetry add pyobjc-framework-networkInstalling pyobjc-framework-Network
Before you install
Medium install friction: macOS-only wheels for Python 3.10–3.15, with dependencies on pyobjc-core and pyobjc-framework-Cocoa. Active maintenance (last commit 2026-08-14, release 3 days ago) and production-stable status reduce risk.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install pyobjc-framework-network
import Network
# Access Network framework classes and functions via the Network module
macOS only; requires Python 3.10 or later and a compatible macOS version matching the wheel (10.9 to 10.15 depending on Python version).
Verify before relying
- Specific Network framework APIs exposed and their completeness relative to Apple's current documentation.
- Performance characteristics and overhead of the Python-to-Objective-C bridge for network operations.
- Whether this is the recommended approach versus native Swift or direct C bindings for new projects.
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 | 655,580/month — #5,513 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_network-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_network-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_network-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_network-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_network-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_network-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_network-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_network-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_network-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Keywords: PyObjC, Network
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-AccountsProvides Python bindings to macOS's Accounts…
permissive · top 15,000 on PyPI
pyobjc-framework-BusinessChatProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-CallKitProvides Python bindings for Apple's CallKit…
permissive · top 15,000 on PyPI
pyobjc-framework-CFNetworkProvides Python bindings to macOS's CFNetwork…
permissive · top 15,000 on PyPI
pyobjc-framework-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMLProvides Python bindings to Apple's CoreML…
permissive · top 5,000 on PyPI
pyobjc-framework-ExceptionHandlingProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-iTunesLibraryProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-KernelManagementProvides 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