--- id: pyobjc-framework-exceptionhandling version: "12.2.2" license: MIT license_treatment: permissive maintenance: active --- # pyobjc-framework-ExceptionHandling — Wrappers for the framework ExceptionHandling on macOS License: permissive · Maintenance: active · Downloads: 656.9K/mo ## 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 above — 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 pip install pyobjc-framework-exceptionhandling uv add pyobjc-framework-exceptionhandling poetry add pyobjc-framework-exceptionhandling ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 656.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags macOS exception handling python, cocoa debugging bindings, pyobjc exception framework, macos error monitoring python, objective-c exception wrapper, macos-only, cocoa-bindings, exception-handling [View on SkillFed](https://skillfed.io/packages/pyobjc-framework-exceptionhandling) · [View on PyPI](https://pypi.org/project/pyobjc-framework-exceptionhandling/)