pyobjc-framework-SecurityFoundation
Wrappers for the framework SecurityFoundation on macOS
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-securityfoundationuv
uv add pyobjc-framework-securityfoundationpoetry
poetry add pyobjc-framework-securityfoundationInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
pyobjc-framework-SecurityProvides Python bindings to macOS's native…
permissive · top 5,000 on PyPI
pyobjc-framework-SecurityInterfaceProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-SecurityUIProvides Python bindings to macOS's SecurityUI…
permissive · top 15,000 on PyPI
pyobjc-framework-FileProviderProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-AccountsProvides Python bindings to macOS's Accounts…
permissive · top 15,000 on PyPI
pyobjc-framework-SafariServicesProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-LocalAuthenticationEmbeddedUIProvides Python bindings for macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-CryptoTokenKitProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
wallet-py3kGenerates Apple Wallet (.pkpass) files from…
unclear · top 15,000 on PyPI
imgtoolimgtool signs and manages cryptographic keys…
permissive · top 5,000 on PyPI