skillfed

pyobjc-framework-libdispatch

Wrappers for libdispatch on macOS

pyobjc-framework-libdispatch v12.2.2 823.3K downloads/30d#4,969 on PyPI803
Permissive license MIT Active released

What it is and what it does

pyobjc-framework-libdispatch wraps Apple's libdispatch (Grand Central Dispatch) library for use in Python on macOS. It allows Python developers to access the same low-level concurrency primitives that native macOS applications use. The package is part of the PyObjC project and requires pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies.

This is a thin binding layer—it does not include its own documentation, instead directing users to Apple's official dispatch documentation and PyObjC's general guidance on Objective-C to Python translation. It is useful when you need direct access to libdispatch from Python, typically in macOS-specific applications or when integrating with Cocoa frameworks. The package supports Python 3.10 through 3.15 and is actively maintained.

Use it for:

  • Integrate Python code with Cocoa frameworks that expect dispatch-based concurrency.
  • Build macOS desktop applications in Python that need access to native scheduling primitives.
  • Coordinate operations between Python and Objective-C components in a hybrid codebase.
  • Access libdispatch from Python when porting macOS applications or libraries.
  • Work with pyobjc-framework-Cocoa in projects requiring dispatch queue integration.

Worth the install?

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

Provides Python bindings to macOS's libdispatch (Grand Central Dispatch) framework, enabling access to Apple's concurrent task scheduling system from Python code.

Yes, if you are developing on macOS and need direct access to libdispatch or Cocoa framework integration. Active maintenance, recent releases, permissive MIT license, and zero known vulnerabilities make it safe. No, if you are on non-macOS platforms or can meet your needs with Python's built-in asyncio or threading modules.

Install

pyobjc-framework-libdispatch on PyPI

pip

pip install pyobjc-framework-libdispatch

uv

uv add pyobjc-framework-libdispatch

poetry

poetry add pyobjc-framework-libdispatch

Installing pyobjc-framework-libdispatch

Before you install

Medium install friction due to platform-specific wheels (macOS only, Python 3.10+). Active maintenance with recent releases; last commit 2026-08-14 and release 3 days old. Depends on pyobjc-core and pyobjc-framework-Cocoa.

License in practice

MIT license permits commercial and private use with minimal restrictions; straightforward permissive terms suitable for most projects.

Quickstart

pip install pyobjc-framework-libdispatch

import pyobjc_framework_libdispatch

macOS only; requires Python 3.10 or later and a compatible CPython interpreter.

Verify before relying

  • What specific dispatch functions and APIs are exposed by this wrapper.
  • Performance characteristics compared to Python's native asyncio or threading.
  • Whether free-threading support (Python 3.13+) is fully tested and stable.
  • Typical usage patterns and concrete examples beyond Apple's official dispatch documentation.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 2 — pyobjc-core, pyobjc-framework-Cocoa
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 823,319/month — #4,969 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_libdispatch-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_libdispatch-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_libdispatch-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_libdispatch-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_libdispatch-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_libdispatch-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_libdispatch-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_libdispatch-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_libdispatch-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl

Keywords: PyObjC, dispatch, libdispatch

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 grand central dispatch pythonlibdispatch bindingsconcurrent task scheduling macospyobjc dispatch frameworkmacos async execution python
macos-onlyobjc-bindingsconcurrency

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

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-FinderSync

Provides Python bindings to macOS's FinderSync…

permissive · top 15,000 on PyPI

pyobjc-framework-libxpc

Provides Python bindings to the macOS XPC…

permissive · top 15,000 on PyPI

pyobjc-framework-MapKit

Provides Python bindings to Apple's MapKit…

permissive · top 15,000 on PyPI

pyobjc-framework-FSKit

Provides Python bindings to macOS's FSKit…

permissive · top 15,000 on PyPI

pyobjc-framework-NotificationCenter

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-SharedWithYouCore

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-ThreadNetwork

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-BrowserEngineKit

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-EventKit

Provides Python bindings to macOS's EventKit…

permissive · top 15,000 on PyPI