skillfed

pyobjc-framework-NetworkExtension

Wrappers for the framework NetworkExtension on macOS

pyobjc-framework-networkextension v12.2.2 655.9K downloads/30d#5,501 on PyPI803
Permissive license MIT Active released

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

uv

uv add pyobjc-framework-networkextension

poetry

poetry add pyobjc-framework-networkextension

Installing 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

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 network extension frameworkpython networkextension bindingspyobjc network configurationmacos system network apicocoa network framework wrapper
macos-onlyobjective-c-bridgesystem-networking

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

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ExtensionKit

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-SystemConfiguration

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-DeviceDiscoveryExtension

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreWLAN

Provides Python bindings to macOS's CoreWLAN…

permissive · top 15,000 on PyPI

pyobjc-framework-CFNetwork

Provides Python bindings to macOS's CFNetwork…

permissive · top 15,000 on PyPI

pyobjc-framework-ServiceManagement

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-NetFS

Provides Python bindings to macOS's NetFS…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaExtension

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-MultipeerConnectivity

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI