skillfed

pyobjc-framework-AdServices

Wrappers for the framework AdServices on macOS

pyobjc-framework-adservices v12.2.2 649.3K downloads/30d#5,576 on PyPI803
Permissive license MIT Active released

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

uv

uv add pyobjc-framework-adservices

poetry

poetry add pyobjc-framework-adservices

Installing 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

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 adservices python bindingspyobjc adservices frameworkapple ad framework wrappermacos advertising api pythonpyobjc cocoa bindingsobjective-c bridge pythonmacos system framework access
macos-onlyobjective-c-bridgesystem-framework

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

Provides Python bindings to macOS's AdSupport…

permissive · top 15,000 on PyPI

pyobjc-framework-ThreadNetwork

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-Security

Provides Python bindings to macOS's native…

permissive · top 5,000 on PyPI

pyobjc-framework-VideoSubscriberAccount

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

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

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

Provides Python bindings for macOS's…

permissive · top 15,000 on PyPI