skillfed

pyobjc-framework-ScreenTime

Wrappers for the framework ScreenTime on macOS

pyobjc-framework-screentime v12.2.2 647.9K downloads/30d#5,589 on PyPI803
Permissive license MIT Active released

What it is and what it does

pyobjc-framework-screentime is a thin Python wrapper around Apple's native ScreenTime framework on macOS. It uses PyObjC to bridge Objective-C classes and methods, making them callable from Python code. The package does not provide its own documentation; instead, it directs users to Apple's official ScreenTime framework documentation and PyObjC's general translation guides.

This is a framework binding package, not a high-level utility library. It is intended for developers who need direct programmatic access to macOS ScreenTime features—such as querying screen time data or managing parental controls—and who are comfortable reading Apple's native documentation and translating Objective-C patterns to Python via PyObjC conventions.

Use it for:

  • Query screen time statistics for applications and categories on a macOS device.
  • Build parental control or device monitoring tools that integrate with macOS ScreenTime.
  • Automate screen time reporting or analytics collection on macOS systems.
  • Develop macOS system utilities that need to access or respond to screen time events.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to Apple's ScreenTime framework on macOS, allowing programmatic access to screen time data and parental control settings.

Yes, if you are developing on macOS and need programmatic access to the ScreenTime framework. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install only if you have a specific need for ScreenTime integration; it is a low-level binding and requires familiarity with both Apple's framework documentation and PyObjC's translation model.

Install

pyobjc-framework-screentime on PyPI

pip

pip install pyobjc-framework-screentime

uv

uv add pyobjc-framework-screentime

poetry

poetry add pyobjc-framework-screentime

Installing pyobjc-framework-ScreenTime

Before you install

Low friction installation with a pure-Python wheel. Actively maintained with a release 3 days old. Requires pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install pyobjc-framework-screentime

from ScreenTime import STScreenTimeConfiguration
# Access ScreenTime framework classes via PyObjC bindings

macOS only; requires Python 3.10 or later and a macOS system with the ScreenTime framework available.

Verify before relying

  • Whether the ScreenTime framework is available on all supported macOS versions or only recent releases.
  • Whether parental control or user permission requirements apply when accessing ScreenTime data programmatically.

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 647,864/month — #5,589 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_screentime-12.2.2-py2.py3-none-any.whl

Keywords: PyObjC, ScreenTime

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 screentime api pythonscreen time framework bindingspyobjc screentime wrapperparental controls programmatic accessmacos app usage monitoringscreentime data python
macos-onlyframework-bindingpyobjc

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

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ScreenSaver

Provides Python bindings to macOS's ScreenSaver…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ReplayKit

Provides Python bindings to Apple's ReplayKit…

permissive · top 15,000 on PyPI

pyobjc-framework-ScreenCaptureKit

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-HealthKit

Provides Python bindings to Apple's HealthKit…

permissive · top 15,000 on PyPI

pyobjc-framework-BrowserEngineKit

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-Accounts

Provides Python bindings to macOS's Accounts…

permissive · top 15,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-VideoSubscriberAccount

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI