skillfed

pyobjc-framework-ExecutionPolicy

Wrappers for the framework ExecutionPolicy on macOS

pyobjc-framework-executionpolicy v12.2.2 649.5K downloads/30d#5,574 on PyPI803
Permissive license MIT Active released

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

uv

uv add pyobjc-framework-executionpolicy

poetry

poetry add pyobjc-framework-executionpolicy

Installing 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

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 execution policy pythonpyobjc executionpolicymacos security policy bindingsobjective-c execution policy wrappermacos framework python bindingcocoa execution policymacos 10.15 python framework
macos-onlysystem-frameworkpyobjc

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

Provides Python bindings to macOS's Accounts…

permissive · top 15,000 on PyPI

pyobjc-framework-FileProvider

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-PushKit

Provides Python bindings to Apple's PushKit…

permissive · top 15,000 on PyPI

pyobjc-framework-SystemExtensions

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

Provides Python bindings to macOS's native…

permissive · top 5,000 on PyPI

pyobjc-framework-KernelManagement

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ThreadNetwork

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-SharedWithYouCore

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-DeviceCheck

Provides Python bindings to Apple's DeviceCheck…

permissive · top 15,000 on PyPI