This library provides Python wrappers for the `SecurityInterface` framework on macOS, allowing Python applications to integrate with macOS security UI components. It's part of the larger PyObjC project, bridging Python and Objective-C. The current version is 12.1, and releases are frequent, typically aligning with new macOS SDK updates and Python version support changes.
pip install pyobjc-framework-securityinterfaceVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import and instantiate a core class from the `SecurityInterface` framework. For full UI functionality, including displaying windows and handling user input, you would typically integrate this with an `AppKit` application lifecycle.
Ensure your Python version meets the `requires_python` specification for the PyObjC version you intend to use. For current versions (>=12.0), Python 3.10+ is required.
Review code that interacts with Objective-C initializer methods (those in the 'init' family) in Python subclasses for potential changes in reference counting behavior. Consult the PyObjC 11.1 release notes for details.
This library is only suitable for macOS development. For cross-platform applications, use platform-agnostic libraries or conditional imports.
Be aware that an application using this library might behave differently or require specific macOS versions for certain features. Check Apple's documentation for the `SecurityInterface` framework relevant to your target macOS version.
If you override both `__new__` and `__init__` in Python subclasses of Objective-C objects, verify the behavior in versions 10.3 and later. The current recommendation is to primarily use `__new__` for Objective-C object construction via PyObjC.
No dependency data recorded yet.