pyobjc-framework-AdServices
Wrappers for the framework AdServices on macOS
What it is and what it does
This package is a PyObjC bridge that exposes Apple's AdServices framework to Python code running on macOS 11.1 or later. It translates Objective-C class and method definitions into Python-callable interfaces, allowing developers to interact with system-level advertising functionality from Python scripts or applications.
The package is a thin wrapper—it does not include its own documentation. Instead, it relies on Apple's official AdServices framework documentation to explain what each API does, and PyObjC's general documentation to explain how Python-to-Objective-C translation works. Installation is straightforward and has low friction, depending only on the core PyObjC packages. It is actively maintained and supports modern Python versions including free-threading builds.
Use it for:
- Build macOS applications that need to query or interact with system ad-related APIs from Python.
- Integrate ad-serving or ad-attribution functionality into Python-based macOS tools or daemons.
- Access AdServices framework data in Python scripts running on macOS for analytics or monitoring.
- Develop cross-framework macOS apps where Python handles business logic and AdServices provides system integration.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings for Apple's AdServices framework on macOS 11.1 or later, enabling programmatic access to ad-related system functionality through PyObjC.
Yes, if you are developing on macOS 11.1+ and need programmatic access to the AdServices framework from Python. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. The main gotcha is that you must consult Apple's documentation separately—this is a thin binding, not a high-level abstraction.
Install
pyobjc-framework-adservices on PyPI
pip
pip install pyobjc-framework-adservicesuv
uv add pyobjc-framework-adservicespoetry
poetry add pyobjc-framework-adservicesInstalling pyobjc-framework-AdServices
Before you install
Low friction installation with active maintenance. Released 3 days ago with recent commits, and depends only on pyobjc-core and pyobjc-framework-Cocoa, both core PyObjC packages. Supports Python 3.10 through 3.15 including free-threading builds.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most projects that can run on macOS.
Quickstart
pip install pyobjc-framework-adservices
import AdServices
# Access AdServices framework classes and methods
# Refer to Apple's AdServices documentation for available APIs
macOS 11.1 or later required; Python 3.10+ required; PyObjC framework bindings are thin wrappers without embedded documentation—Apple's official AdServices documentation must be consulted for API details.
Verify before relying
- Whether AdServices framework is available on all macOS 11.1+ versions or only specific builds/configurations
- Performance characteristics and any known limitations when bridging between Python and Objective-C for ad-related operations
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,323/month — #5,576 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_adservices-12.2.2-py2.py3-none-any.whl
Keywords: PyObjC, AdServices
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-AdSupportProvides Python bindings to macOS's AdSupport…
permissive · top 15,000 on PyPI
pyobjc-framework-ThreadNetworkProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-SecurityProvides Python bindings to macOS's native…
permissive · top 5,000 on PyPI
pyobjc-framework-VideoSubscriberAccountProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
pyobjc-framework-SafariServicesProvides 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-SystemExtensionsProvides 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-SharedWithYouProvides Python bindings for macOS's…
permissive · top 15,000 on PyPI