pyobjc-framework-ExecutionPolicy
Wrappers for the framework ExecutionPolicy on macOS
What it is and what it does
This package wraps Apple's ExecutionPolicy framework for use from Python, allowing developers on macOS to call native ExecutionPolicy APIs through Python code. It is part of the larger PyObjC project, which provides bindings for macOS Cocoa frameworks. The wrapper itself does not include inline documentation; users must consult Apple's framework documentation and PyObjC's general translation guides to understand how to use the underlying APIs.
The package depends on pyobjc-core and pyobjc-framework-Cocoa and supports Python 3.10 through 3.15, including free-threading builds. It is intended for developers building macOS-specific applications or tools that need to interact with execution policies at the system level.
Use it for:
- Building macOS security or system administration tools that need to query or manage execution policies.
- Integrating Python scripts with macOS system frameworks for policy-aware application behavior.
- Developing cross-framework macOS applications where ExecutionPolicy integration is required.
- Creating automation or monitoring tools that interact with macOS security and execution controls.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings for macOS's ExecutionPolicy framework, enabling Python code to interact with execution policies on macOS 10.15 and later.
Yes, if you are developing on macOS and need ExecutionPolicy framework access from Python. The package is actively maintained, has no known vulnerabilities, and installs with low friction. However, it is only useful on macOS 10.15+ and requires Python 3.10+; it is not portable to other operating systems.
Install
pyobjc-framework-executionpolicy on PyPI
pip
pip install pyobjc-framework-executionpolicyuv
uv add pyobjc-framework-executionpolicypoetry
poetry add pyobjc-framework-executionpolicyInstalling pyobjc-framework-ExecutionPolicy
Before you install
Low friction installation with a pure-wheel distribution. Actively maintained as of 3 days ago with recent commits and broad Python 3.10+ support across current versions.
License in practice
MIT license permits unrestricted use, modification, and distribution with only attribution required—no restrictions on commercial or proprietary use.
Quickstart
pip install pyobjc-framework-executionpolicy
from ExecutionPolicy import *
# Access ExecutionPolicy framework classes and methods
Requires macOS 10.15 or later and Python 3.10+; only runs on macOS systems.
Verify before relying
- Whether ExecutionPolicy framework APIs are documented in Apple's official macOS SDK documentation.
- Specific use cases or workflows where this framework is commonly applied in production.
- Whether the wrapper covers the full ExecutionPolicy API surface or a subset.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — pyobjc-core, pyobjc-framework-Cocoa |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 649,532/month — #5,574 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_executionpolicy-12.2.2-py2.py3-none-any.whl
Keywords: PyObjC, ExecutionPolicy
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-AccountsProvides Python bindings to macOS's Accounts…
permissive · top 15,000 on PyPI
pyobjc-framework-FileProviderProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-PushKitProvides Python bindings to Apple's PushKit…
permissive · top 15,000 on PyPI
pyobjc-framework-SystemExtensionsProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-SecurityProvides Python bindings to macOS's native…
permissive · top 5,000 on PyPI
pyobjc-framework-KernelManagementProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-ThreadNetworkProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-SharedWithYouCoreProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-DeviceCheckProvides Python bindings to Apple's DeviceCheck…
permissive · top 15,000 on PyPI