skillfed

pyobjc-framework-ExceptionHandling

Wrappers for the framework ExceptionHandling on macOS

pyobjc-framework-exceptionhandling v12.2.2 656.9K downloads/30d#5,483 on PyPI803
Permissive license MIT Active released

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

uv

uv add pyobjc-framework-exceptionhandling

poetry

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

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 exception handling pythoncocoa debugging bindingspyobjc exception frameworkmacos error monitoring pythonobjective-c exception wrapper
macos-onlycocoa-bindingsexception-handling

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

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-ScreenSaver

Provides Python bindings to macOS's ScreenSaver…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-libxpc

Provides Python bindings to the macOS XPC…

permissive · top 15,000 on PyPI

pyobjc-framework-ThreadNetwork

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-KernelManagement

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-Accounts

Provides Python bindings to macOS's Accounts…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-SystemExtensions

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-CallKit

Provides Python bindings for Apple's CallKit…

permissive · top 15,000 on PyPI