skillfed

pyobjc-framework-SecurityFoundation

Wrappers for the framework SecurityFoundation on macOS

pyobjc-framework-securityfoundation v12.2.2 655.0K downloads/30d#5,518 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package is a PyObjC wrapper layer that exposes Apple's macOS SecurityFoundation framework to Python developers. SecurityFoundation is a low-level macOS framework providing cryptographic primitives, certificate management, and secure storage operations. The wrapper translates between Python and Objective-C calling conventions, allowing you to call SecurityFoundation APIs directly from Python code without writing Objective-C.

You use it when you need to integrate macOS security features into a Python application—certificate validation, cryptographic operations, or access to the system keychain. The package does not include its own documentation; you reference Apple's SecurityFoundation documentation alongside PyObjC's general translation guides. It requires Python 3.10 or later and only runs on macOS.

Use it for:

  • Access macOS keychain and secure credential storage from a Python application
  • Perform certificate validation and cryptographic operations using native macOS security APIs
  • Build macOS-native Python tools that need to interact with system security infrastructure
  • Integrate Python code with Objective-C security libraries in a mixed-language macOS project

Worth the install?

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

Provides Python bindings to macOS's SecurityFoundation framework, enabling access to security-related APIs like certificate handling, cryptographic operations, and secure storage from Python code.

Yes, if you are developing on macOS and need direct access to SecurityFoundation APIs from Python. The package is actively maintained, has no known vulnerabilities, and installs with low friction. The main constraint is that it only works on macOS and requires Python 3.10+; if you are on another platform or need to support older Python versions, it will not be usable.

Install

pyobjc-framework-securityfoundation on PyPI

pip

pip install pyobjc-framework-securityfoundation

uv

uv add pyobjc-framework-securityfoundation

poetry

poetry add pyobjc-framework-securityfoundation

Installing pyobjc-framework-SecurityFoundation

Before you install

Low friction installation via wheel. Actively maintained with a recent release (3 days old) and steady commit activity. Depends on three PyObjC framework packages, all part of the same ecosystem.

License in practice

MIT license permits use, modification, and distribution with minimal restrictions, making it suitable for commercial and open-source projects alike.

Quickstart

pip install pyobjc-framework-securityfoundation

from SecurityFoundation import ...
# Use SecurityFoundation APIs via PyObjC bindings

Requires macOS; will not work on Windows or Linux. Requires Python 3.10 or later.

Verify before relying

  • Specific SecurityFoundation APIs exposed and their completeness relative to the native framework
  • Whether wrappers cover all SecurityFoundation classes or only a subset
  • Performance characteristics compared to direct Objective-C calls

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python 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 655,050/month — #5,518 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_securityfoundation-12.2.2-py2.py3-none-any.whl

Keywords: PyObjC, SecurityFoundation

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 framework pythonpyobjc security bindingscertificate handling macoscryptographic operations macossecure storage macos pythonobjective-c security wrappersmacos keychain access python
macos-nativesecurity-bindingsobjective-c-wrapper

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

Provides Python bindings to macOS's native…

permissive · top 5,000 on PyPI

pyobjc-framework-SecurityInterface

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-SecurityUI

Provides Python bindings to macOS's SecurityUI…

permissive · top 15,000 on PyPI

pyobjc-framework-FileProvider

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

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

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

wallet-py3k

Generates Apple Wallet (.pkpass) files from…

unclear · top 15,000 on PyPI

imgtool

imgtool signs and manages cryptographic keys…

permissive · top 5,000 on PyPI