pyobjc-framework-Security
Wrappers for the framework Security on macOS
Decision gist · record as of 2026-08-14
Yes, if you are developing on macOS and need direct access to native Security framework APIs from Python. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. However, it is macOS-only and requires familiarity with both PyObjC's translation model and Apple's Security framework documentation, making it suitable only for developers with those specific needs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- macOS operating system required; installation will fail on Linux or Windows.
- Requires Python 3.10 or later.
- Medium install friction due to platform and compiled-dependency constraints.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 803 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 995,825 downloads/mo, #4,548 on PyPI
Alternatives
Verify before relying
pip install pyobjc-framework-security
from Security import SecKeychain
keychain = SecKeychain.defaultKeychain()- Specific Security framework capabilities exposed (e.g., which classes/functions are wrapped) not detailed in the excerpt.
- Performance characteristics or overhead of the Python-to-Objective-C bridge for security operations.
- Whether all current macOS Security framework APIs are covered or if some are missing.
What it is and what it does
pyobjc-framework-security is a thin wrapper layer that exposes Apple's native macOS Security framework to Python code via PyObjC. It allows developers to call Security framework functions directly from Python without writing Objective-C, bridging the gap between Python and macOS's built-in cryptographic, certificate, and keychain management capabilities.
The package is part of the larger PyObjC project and provides no independent documentation—users must consult Apple's Security framework documentation and PyObjC's general translation guides to understand how to use each wrapped API. It depends on pyobjc-core and pyobjc-framework-Cocoa and runs only on macOS, making it a platform-specific tool for developers who need direct access to native security APIs.
Use it for
- Access macOS keychain to store and retrieve passwords, certificates, or cryptographic keys from Python applications.
- Perform certificate validation or inspection using native Security framework APIs in a Python context.
- Integrate Python scripts with macOS security features for system administration or automation tasks.
- Build cross-language macOS applications that need to call Security framework functions from Python components.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing on macOS and need direct access to native Security framework APIs from Python.
The package is actively maintained, has no known vulnerabilities, and carries a permissive license. However, it is macOS-only and requires familiarity with both PyObjC's translation model and Apple's Security framework documentation, making it suitable only for developers with those specific needs.
Install
pyobjc-framework-security on PyPI
Before you install
Medium install friction due to platform and compiled-dependency constraints. The package is actively maintained with recent releases and supports current Python versions (3.10–3.15), but installation requires macOS and depends on pyobjc-core and pyobjc-framework-Cocoa.
macOS operating system required; installation will fail on Linux or Windows. Requires Python 3.10 or later.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install pyobjc-framework-security
from Security import SecKeychain
keychain = SecKeychain.defaultKeychain()
Verify before relying
- Specific Security framework capabilities exposed (e.g., which classes/functions are wrapped) not detailed in the excerpt.
- Performance characteristics or overhead of the Python-to-Objective-C bridge for security operations.
- Whether all current macOS Security framework APIs are covered or if some are missing.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 2 packagespyobjc-corepyobjc-framework-Cocoa |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 995,825 / month, #4,548 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: pyobjc_framework_security-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_security-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_security-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_security-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_security-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_security-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_security-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_security-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_security-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “macos security framework python”
- pyobjc-framework-SecurityProvides Python bindings to macOS's native Security framework,…
- pyobjc-framework-SecurityInterfaceProvides Python bindings to macOS's SecurityInterface framework,…
- pyobjc-framework-SecurityUIProvides Python bindings to macOS's SecurityUI framework, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pyobjc-framework-CryptoTokenKit · pyobjc-framework-SafetyKit · pyobjc-framework-SecurityFoundation · pyobjc-framework-Symbols · pyobjc-framework-SecurityInterface · pyobjc-framework-SecurityUI · pyobjc-framework-FSKit · pyobjc-framework-GameSave · pyobjc-framework-AdServices · pyobjc-framework-ThreadNetwork