pyobjc-framework-ExceptionHandling
Wrappers for the framework ExceptionHandling on macOS
What it is and what it does
This package wraps Apple's ExceptionHandling framework for use in Python, allowing developers to monitor and debug exceptional conditions in Cocoa applications. It is part of the larger PyObjC project and depends on pyobjc-core and pyobjc-framework-Cocoa to bridge between Python and Objective-C.
The package is intended for macOS development where you need to integrate Python code with native Cocoa exception handling. It does not include its own documentation; users must refer to Apple's framework documentation and PyObjC's general translation guides to understand how to use the bindings effectively.
Use it for:
- Catch and handle Cocoa exceptions from Python code running in a macOS application.
- Monitor exceptional conditions in hybrid Python-Objective-C Cocoa programs.
- Debug native macOS framework errors when called from Python via PyObjC.
- Integrate Python error handling with native macOS exception reporting mechanisms.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to macOS's ExceptionHandling framework, enabling monitoring and debugging of exceptional conditions in Cocoa applications from Python code.
Yes, if you are developing macOS Cocoa applications in Python and need to handle native framework exceptions. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install only if you target macOS and use PyObjC; it is not useful on other platforms.
Install
pyobjc-framework-exceptionhandling on PyPI
pip
pip install pyobjc-framework-exceptionhandlinguv
uv add pyobjc-framework-exceptionhandlingpoetry
poetry add pyobjc-framework-exceptionhandlingInstalling pyobjc-framework-ExceptionHandling
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a release 3 days old; the parent PyObjC project shows recent activity and established community presence.
License in practice
MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you retain the license notice.
Quickstart
pip install pyobjc-framework-exceptionhandling
from PyObjC.ExceptionHandling import NSExceptionHandler
# Use NSExceptionHandler to monitor Cocoa exceptions
macOS only; requires Python 3.10 or later and a macOS system with the native ExceptionHandling framework available.
Verify before relying
- Whether the ExceptionHandling framework bindings cover all macOS versions you target, or if there are version-specific limitations.
- Whether PyObjCTools.Debugging utilities mentioned in the description are included or require separate installation.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python 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,898/month — #5,483 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_exceptionhandling-12.2.2-py2.py3-none-any.whl
Keywords: PyObjC, ExceptionHandling
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-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-ScreenSaverProvides Python bindings to macOS's ScreenSaver…
permissive · top 15,000 on PyPI
pyobjc-framework-SafariServicesProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-libxpcProvides Python bindings to the macOS XPC…
permissive · top 15,000 on PyPI
pyobjc-framework-ThreadNetworkProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-KernelManagementProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-AccountsProvides Python bindings to macOS's Accounts…
permissive · top 15,000 on PyPI
pyobjc-framework-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
pyobjc-framework-SystemExtensionsProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-CallKitProvides Python bindings for Apple's CallKit…
permissive · top 15,000 on PyPI