pyobjc-framework-CFNetwork
Wrappers for the framework CFNetwork on macOS
Decision gist · record as of 2026-08-14
Yes, if you are developing on macOS and need direct access to CFNetwork APIs for proxy configuration or network diagnostics. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Install friction is moderate due to platform specificity and compiled dependencies, but that is unavoidable for native framework bindings. Not applicable for non-macOS development.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- macOS only; requires Python 3.10 or later; depends on pyobjc-core and pyobjc-framework-Cocoa.
- Medium install friction due to platform-specific wheels (macOS only, multiple Python versions).
- Active maintenance with recent release (3 days old) and steady repository activity; requires pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 803 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 664,315 downloads/mo, #5,431 on PyPI
Alternatives
Verify before relying
pip install pyobjc-framework-cfnetwork
from CFNetwork import CFNetworkCopyProxiesForAutoConfigurationScript
# Access CFNetwork APIs through the imported module- Specific CFNetwork APIs exposed and their completeness relative to the native framework.
- Whether proxy autoconfiguration and diagnostics APIs are fully functional or have known limitations.
- Performance characteristics when calling into Objective-C from Python via these bindings.
What it is and what it does
pyobjc-framework-cfnetwork is a thin wrapper layer that exposes Apple's CFNetwork framework to Python code running on macOS. CFNetwork provides low-level abstractions for network protocols, and this package makes those abstractions callable from Python by bridging Objective-C to CPython. The wrapper is part of the larger PyObjC project and depends on pyobjc-core and pyobjc-framework-Cocoa to handle the translation between Python and Objective-C semantics.
The package is most useful for macOS-specific networking tasks where you need direct access to system-level network APIs—particularly proxy autoconfiguration scripts and network diagnostics. Because it wraps native framework code rather than reimplementing it, it gives you access to the same APIs that native macOS applications use, but from Python. The trade-off is that it only works on macOS and requires knowledge of both the CFNetwork API (documented by Apple) and PyObjC's conventions for calling Objective-C from Python.
Use it for
- Detect and configure proxy settings automatically on macOS using CFNetwork's proxy autoconfiguration APIs.
- Implement network diagnostics tools on macOS that need access to low-level networking information.
- Build macOS system utilities that require direct interaction with the CFNetwork framework.
- Integrate CFNetwork capabilities into cross-platform Python applications with macOS-specific code paths.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing on macOS and need direct access to CFNetwork APIs for proxy configuration or network diagnostics.
The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Install friction is moderate due to platform specificity and compiled dependencies, but that is unavoidable for native framework bindings. Not applicable for non-macOS development.
Install
pyobjc-framework-cfnetwork on PyPI
Before you install
Medium install friction due to platform-specific wheels (macOS only, multiple Python versions). Active maintenance with recent release (3 days old) and steady repository activity; requires pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies.
macOS only; requires Python 3.10 or later; depends on pyobjc-core and pyobjc-framework-Cocoa.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
Quickstart
pip install pyobjc-framework-cfnetwork
from CFNetwork import CFNetworkCopyProxiesForAutoConfigurationScript
# Access CFNetwork APIs through the imported module
Verify before relying
- Specific CFNetwork APIs exposed and their completeness relative to the native framework.
- Whether proxy autoconfiguration and diagnostics APIs are fully functional or have known limitations.
- Performance characteristics when calling into Objective-C from Python via these bindings.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 2 packagespyobjc-corepyobjc-framework-Cocoa |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 664,315 / month, #5,431 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: pyobjc_framework_cfnetwork-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_cfnetwork-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_cfnetwork-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_cfnetwork-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_cfnetwork-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_cfnetwork-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_cfnetwork-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_cfnetwork-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_cfnetwork-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “macos cfnetwork python bindings”
- pyobjc-framework-CFNetworkProvides Python bindings to macOS's CFNetwork framework, enabling…
- pyobjc-framework-CocoaProvides Python bindings to macOS Cocoa frameworks (CoreFoundation,…
- pyobjc-framework-SharedWithYouProvides Python bindings for macOS's SharedWithYou framework,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pyobjc-framework-Network · pyobjc-framework-ThreadNetwork · pyobjc-framework-NetworkExtension · pyobjc-framework-CoreServices · pyobjc-framework-MultipeerConnectivity · pyobjc-framework-SystemConfiguration · pyobjc-framework-Carbon · pyobjc-framework-FSKit · pyobjc-framework-BrowserEngineKit · pyobjc-framework-SystemExtensions