--- id: pyobjc-framework-oslog version: "12.2.2" license: MIT license_treatment: permissive maintenance: active --- # pyobjc-framework-OSLog — Wrappers for the framework OSLog on macOS License: permissive · Maintenance: active · Downloads: 654.2K/mo ## What it is and what it does pyobjc-framework-oslog is a thin Python wrapper around Apple's OSLog framework, part of the broader PyObjC project that bridges Python and Objective-C. It allows Python developers on macOS to write log messages directly to the system's unified logging infrastructure. The package is a compiled extension that depends on pyobjc-core, pyobjc-framework-CoreMedia, pyobjc-framework-Cocoa, and pyobjc-framework-Quartz. The wrapper requires Python 3.10 or later and only runs on macOS. The package provides no standalone documentation beyond pointing you to Apple's OSLog documentation and PyObjC's general translation guide, so you will need to understand both the underlying framework and PyObjC's calling conventions to use it effectively. Use it for: - Integrate Python CLI tools with macOS system logging so logs appear in system log queries. - Write logging from Python daemons or background services to the unified logging system. - Debug macOS applications by routing Python module logs through the system logging infrastructure. - Ensure Python application logs respect macOS logging levels and policies configured system-wide. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to macOS's OSLog framework, enabling logging to the system's unified logging system from Python applications. Yes, if you are building a Python application on macOS that needs to integrate with the system's unified logging infrastructure. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. The main constraint is that it only works on macOS and requires understanding both the OSLog framework and PyObjC's translation layer; it is not suitable for cross-platform projects. ## Install pip install pyobjc-framework-oslog uv add pyobjc-framework-oslog poetry add pyobjc-framework-oslog ## Installing pyobjc-framework-OSLog Before you install: Medium install friction due to platform-specific wheels (macOS only) and multiple compiled dependencies. Recently released (3 days ago) with active maintenance and no known vulnerabilities. License in practice: MIT license is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions. Quickstart: pip install pyobjc-framework-oslog import pyobjc_framework_oslog # Use through pyobjc-core and framework dependencies macOS only; requires Python 3.10 or later. Verify before relying: - Whether the wrapper covers the full OSLog API surface or only a subset of framework functionality. - Performance characteristics when logging high-volume messages to the unified logging system. - Specific usage patterns and code examples beyond what Apple's OSLog documentation provides. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 654.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags macos system logging python, oslog framework bindings, unified logging macos, python macos logging, pyobjc oslog wrapper, macos-only, system-integration, logging [View on SkillFed](https://skillfed.io/packages/pyobjc-framework-oslog) · [View on PyPI](https://pypi.org/project/pyobjc-framework-oslog/)