Registry / communication / pyobjc-framework-businesschat

pyobjc-framework-businesschat

JSON →
library12.2pypypiunverified

The `pyobjc-framework-businesschat` library provides Python wrappers for the macOS BusinessChat framework, enabling Python applications to interact with Apple Business Chat services. It is part of the broader PyObjC project, currently at version 12.1, and typically releases new versions in alignment with major macOS SDK updates.

pip install pyobjc-framework-businesschat
INSTALL
IMPORT
SIG · PYOBJC-FRAMEWORK-B
P
pyobjc-framework-businesschat
communicationpythonv12.2
Install
Import
Disk
Pass rate
0/ 10
Env Coverage0 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v? · pip install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.920 runs
build_error
glibc
py 3.103.920 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BCAuthenticationManager
from BusinessChat import BCAuthenticationManager

This example demonstrates how to import a key class from the BusinessChat framework and check if the Business Chat service is supported on the current macOS system. It includes a platform check for safe execution.

import objc import sys if sys.platform == 'darwin': try: from BusinessChat import BCAuthenticationManager print(f"BusinessChat framework imported successfully. Class: {BCAuthenticationManager}") # Check if Business Chat is supported on the current system if BCAuthenticationManager.sharedAuthenticationManager().isSupported(): print("Business Chat is supported on this macOS system.") else: print("Business Chat is NOT supported on this macOS system.") except ImportError: print("BusinessChat framework is not available. Ensure you are on a compatible macOS version.") except Exception as e: print(f"An unexpected error occurred: {e}") else: print("This quickstart requires macOS to run PyObjC BusinessChat framework.")
Debug
Known issues
breakingPyObjC dropped support for Python 3.9 in version 12.0 and Python 3.8 in version 11.0. Ensure your Python environment meets the minimum requirement (currently Python 3.10+ for PyObjC 12.x).
fix
Upgrade Python to 3.10 or newer, or pin `pyobjc-framework-businesschat` to an older version compatible with your Python (e.g., `<12.0` for Python 3.9).
affects: 11.0, 12.0
breakingPyObjC v11.1 aligned its behavior with `clang`'s Automatic Reference Counting (ARC) documentation for initializer methods. This means methods in the 'init' family now correctly steal a reference to `self` and return a new one. This could subtly change reference counting behavior in complex `__init__`/`__new__` scenarios, potentially leading to memory issues or unexpected object lifetimes.
fix
Review custom Python classes that heavily interact with Objective-C initializers, especially those overriding `__new__` or `__init__`, to ensure correct reference management. Thorough testing is recommended.
affects: 11.1 and later
gotcha`pyobjc-framework-businesschat` is a wrapper for a macOS-specific framework and will only function on macOS. Attempting to import or use it on other operating systems (e.g., Linux, Windows) will result in an `ImportError` or runtime errors.
fix
Ensure your application is deployed and run on macOS. If your code needs to be cross-platform, use platform checks (`sys.platform == 'darwin'`) to conditionally execute PyObjC-related code.
affects: All versions
gotchaIn PyObjC 10.3, the ability to use `__init__` was removed when a class or its superclasses provided a user implementation of `__new__`. While this was partially reverted in 10.3.1 to allow `__init__` when `__new__` is user-implemented, code relying on `__new__` provided by PyObjC still cannot use `__init__` as before 10.3.
fix
If your Python classes using PyObjC override `__new__`, exercise caution with `__init__` and test thoroughly. Avoid calling `__init__` if `__new__` is inherited from `objc.objc_object` or another PyObjC internal mechanism.
affects: 10.3 (breaking), 10.3.1 and later (partial fix)
Upgrade
Version history
12.2latest on PyPI · released May 30, 2026
Audit
Dependencies
pyobjc-corerequiredAll `pyobjc-framework-*` packages depend on `pyobjc-core` for the underlying Objective-C bridge.
Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
pyobjc-framework-businesschat — pip install pyobjc-framework-businesschat · libregistry