pyobjc-framework-NetworkExtension
Wrappers for the framework NetworkExtension on macOS
What it is and what it does
This package wraps Apple's NetworkExtension framework for use in Python on macOS, allowing developers to programmatically interact with system-level network configuration and extension capabilities. It is part of the PyObjC project and provides direct access to Objective-C classes and methods from the NetworkExtension framework, translated into Python idioms.
The package does not include its own documentation; users must refer to Apple's official NetworkExtension documentation and PyObjC's general translation guidelines. It depends on pyobjc-core and pyobjc-framework-Cocoa and is distributed as platform-specific wheels for macOS. The package supports Python 3.10 through 3.15, including free-threading builds, and is actively maintained.
Use it for:
- Build macOS VPN client applications or network extension tools that require direct access to system network APIs.
- Develop network monitoring or packet inspection utilities on macOS using Python.
- Create DNS or content-filtering extensions for macOS that integrate with the system network stack.
- Automate network configuration tasks on macOS that require Objective-C framework access.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Apple's NetworkExtension framework, enabling macOS applications to interact with network configuration and extension APIs at the system level.
Yes, if you are developing a macOS application that needs system-level network control and are comfortable reading Apple's framework documentation and PyObjC's translation patterns. No, if you need cross-platform network APIs or prefer pure-Python solutions. The package is stable and actively maintained, but its utility is narrowly scoped to macOS and requires familiarity with both Objective-C concepts and PyObjC's bridge semantics.
Install
pyobjc-framework-networkextension on PyPI
pip
pip install pyobjc-framework-networkextensionuv
uv add pyobjc-framework-networkextensionpoetry
poetry add pyobjc-framework-networkextensionInstalling pyobjc-framework-NetworkExtension
Before you install
Medium friction: platform-specific wheels for macOS only (requires Python 3.10+), with compiled dependencies on pyobjc-core and pyobjc-framework-Cocoa. Recently maintained (last commit 2026-08-14, release 3 days old) and marked stable.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install pyobjc-framework-networkextension
import NetworkExtension
# Access NetworkExtension framework classes and methods via the imported module
macOS only; requires Python 3.10 or later and a working Objective-C bridge (pyobjc-core and pyobjc-framework-Cocoa).
Verify before relying
- Whether the package includes type stubs or runtime type hints for IDE support.
- Specific NetworkExtension APIs covered (e.g., VPN, DNS, content filtering, packet tunneling).
- Performance or memory overhead of the Python-to-Objective-C bridge for high-frequency operations.
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,943/month — #5,501 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_networkextension-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_networkextension-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_networkextension-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_networkextension-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_networkextension-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_networkextension-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_networkextension-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_networkextension-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_networkextension-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Keywords: PyObjC, NetworkExtension
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-SystemExtensionsProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-ExtensionKitProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-SystemConfigurationProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-DeviceDiscoveryExtensionProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreWLANProvides Python bindings to macOS's CoreWLAN…
permissive · top 15,000 on PyPI
pyobjc-framework-CFNetworkProvides Python bindings to macOS's CFNetwork…
permissive · top 15,000 on PyPI
pyobjc-framework-ServiceManagementProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-NetFSProvides Python bindings to macOS's NetFS…
permissive · top 15,000 on PyPI
pyobjc-framework-MediaExtensionProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-MultipeerConnectivityProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI