skillfed

pyobjc-framework-SecurityInterface

Wrappers for the framework SecurityInterface on macOS

pyobjc-framework-securityinterface v12.2.2 660.8K downloads/30d#5,456 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package is a thin Python wrapper around Apple's macOS SecurityInterface framework, part of the PyObjC project. It lets you call native macOS security-related UI components—such as keychain dialogs and certificate pickers—directly from Python code. The wrapper does not include its own documentation; instead, you rely on Apple's framework documentation combined with PyObjC's general translation guides to understand how to use each class and method.

The package is tightly bound to macOS: it only installs on macOS systems and requires Python 3.10 or later. It depends on pyobjc-core and two sibling framework bindings (pyobjc-framework-Cocoa and pyobjc-framework-Security), making it part of a larger ecosystem for bridging Python and native macOS APIs. It is most useful when you are building a macOS-native Python application that needs to present system security dialogs or interact with keychain and certificate management.

Use it for:

  • Build a macOS desktop app that needs to prompt users to select a certificate or keychain item using native dialogs.
  • Integrate system security UI components into a Python-based macOS utility without reimplementing them.
  • Access SecurityInterface framework features from a PyObjC-based macOS application.
  • Wrap macOS security workflows in Python scripts that run on developer machines.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to macOS's SecurityInterface framework, enabling access to native security-related UI components and dialogs from Python code running on macOS.

Yes, if you are developing a macOS application in Python and need native security UI components. No, if you are targeting other platforms or do not need SecurityInterface-specific functionality. The package is actively maintained, has no known vulnerabilities, and carries a permissive license, but it is strictly macOS-only and requires careful dependency management within the PyObjC ecosystem.

Install

pyobjc-framework-securityinterface on PyPI

pip

pip install pyobjc-framework-securityinterface

uv

uv add pyobjc-framework-securityinterface

poetry

poetry add pyobjc-framework-securityinterface

Installing pyobjc-framework-SecurityInterface

Before you install

Medium install friction due to platform and architecture specificity—wheels are available only for macOS (universal2 binaries for Intel and Apple Silicon), and the package requires pyobjc-core and two additional framework bindings. Maintenance is active with a recent release (3 days old) and steady repository activity.

License in practice

MIT license is permissive and imposes no significant restrictions on use, modification, or distribution.

Quickstart

pip install pyobjc-framework-securityinterface

from SecurityInterface import SFChooseKeychainItemPanel
# Access SecurityInterface framework classes via the imported module

macOS only; requires Python 3.10 or later; requires a macOS system with the SecurityInterface framework available.

Verify before relying

  • Whether the SecurityInterface framework is available on all supported macOS versions or only recent ones.
  • Which specific SecurityInterface classes and methods are exposed by this wrapper.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 3 — pyobjc-core, pyobjc-framework-Cocoa, pyobjc-framework-Security
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 660,813/month — #5,456 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_securityinterface-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_securityinterface-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_securityinterface-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_securityinterface-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_securityinterface-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_securityinterface-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_securityinterface-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_securityinterface-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_securityinterface-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl

Keywords: PyObjC, SecurityInterface

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 security interface bindingspyobjc security frameworknative macos security dialogsobjective-c security wrappermacos keychain ui accesscocoa security components
macos-nativesecurity-ui

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

Provides Python bindings to macOS's SecurityUI…

permissive · top 15,000 on PyPI

pyobjc-framework-Security

Provides Python bindings to macOS's native…

permissive · top 5,000 on PyPI

pyobjc-framework-SecurityFoundation

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-LocalAuthenticationEmbeddedUI

Provides Python bindings for macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-UserNotificationsUI

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-IntentsUI

Provides Python bindings for macOS's IntentsUI…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 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-Accounts

Provides Python bindings to macOS's Accounts…

permissive · top 15,000 on PyPI