skillfed

pyobjc-framework-OpenDirectory

Wrappers for the framework OpenDirectory on macOS

pyobjc-framework-opendirectory v12.2.2 652.7K downloads/30d#5,541 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package wraps Apple's OpenDirectory and CFOpenDirectory frameworks for use in Python, allowing macOS applications to interact with the system's directory services. It is part of the PyObjC project and translates Objective-C framework APIs into Python-callable interfaces. The package itself contains no documentation; users must consult Apple's framework documentation and PyObjC's general translation guidelines to understand how to use the underlying APIs.

The package depends on pyobjc-core and pyobjc-framework-Cocoa, which provide the foundational PyObjC infrastructure and the Cocoa framework bindings respectively. It is designed for developers building macOS-native Python applications that need to access directory services—such as user and group information from the local system or network directories. The package supports Python 3.10 through 3.15 and is actively maintained.

Use it for:

  • Query macOS directory services to retrieve user and group information for authentication or access control
  • Build macOS system utilities that integrate with the OS's native directory infrastructure
  • Develop cross-platform Python applications with macOS-specific directory service support
  • Access LDAP or other network directory services through macOS's unified directory interface

Worth the install?

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

Provides Python bindings to macOS's OpenDirectory and CFOpenDirectory frameworks, enabling directory services access from Python on macOS 10.6 and later.

Yes, if you are developing on macOS and need to access directory services from Python. The package is actively maintained, has no known vulnerabilities, installs with low friction, and carries a permissive MIT license. However, it is macOS-only and requires Python 3.10+; it is not useful on other operating systems. Documentation is minimal—you will need to consult Apple's framework docs and PyObjC guides.

Install

pyobjc-framework-opendirectory on PyPI

pip

pip install pyobjc-framework-opendirectory

uv

uv add pyobjc-framework-opendirectory

poetry

poetry add pyobjc-framework-opendirectory

Installing pyobjc-framework-OpenDirectory

Before you install

Low friction installation as a pure-Python wheel. Actively maintained with a recent release (3 days old) and current repository activity. Requires pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies, both part of the same maintained project.

License in practice

MIT license permits use in most contexts without restriction, including commercial and proprietary projects.

Quickstart

pip install pyobjc-framework-opendirectory

import OpenDirectory
# Access macOS directory services via OpenDirectory framework bindings

Requires macOS 10.6 or later and Python 3.10+; will not function on non-macOS systems.

Verify before relying

  • Specific directory service operations supported (e.g., user lookup, group membership queries, authentication)
  • Performance characteristics when querying large directories or network-based directory services
  • Compatibility with modern macOS versions beyond the stated 10.6+ baseline

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

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

Keywords: PyObjC, OpenDirectory, CFOpenDirectory

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 directory services pythonopendir framework bindingspyobjc opendir wrappermacos user directory accessldap directory services pythonmacos authentication directorycocoa directory framework
macos-nativedirectory-servicespyobjc

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

Provides Python bindings to macOS's FSKit…

permissive · top 15,000 on PyPI

pyobjc-framework-FileProvider

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-LaunchServices

Provides Python bindings to the macOS…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaLibrary

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-DeviceDiscoveryExtension

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-SearchKit

Provides Python bindings for macOS's SearchKit…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-AppleScriptKit

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-CalendarStore

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

macholib

Analyzes and edits Mach-O headers, the…

permissive · top 5,000 on PyPI