pyobjc-framework-Carbon
Wrappers for the framework Carbon on macOS
What it is and what it does
This package wraps Apple's Carbon framework for use from Python, allowing developers to call Carbon APIs directly when working on macOS. Carbon is a legacy macOS framework; this wrapper translates between Python and Objective-C, enabling interop with Carbon code or systems that still depend on it.
The package is part of the larger PyObjC project and depends on pyobjc-core and pyobjc-framework-Cocoa. It requires Python 3.10 or later and runs on CPython. Documentation is minimal in the wrapper itself; users are directed to Apple's Carbon documentation and PyObjC's general translation guides to understand how to use the underlying APIs.
Use it for:
- Calling legacy Carbon APIs from Python code on macOS when modernizing or maintaining older applications.
- Building Python tools that need to interact with system components still using the Carbon framework.
- Integrating Python with macOS native code that relies on Carbon rather than newer frameworks.
- Prototyping or scripting Carbon-based functionality without writing Objective-C directly.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to macOS's Carbon framework, enabling Python code to call Carbon APIs directly on macOS systems.
Yes, if you are on macOS and need to call Carbon APIs from Python. The package is actively maintained, has no known vulnerabilities, installs easily, and carries a permissive license. However, Carbon is a legacy framework; confirm that your use case genuinely requires it rather than a modern macOS API before adding the dependency.
Install
pyobjc-framework-carbon on PyPI
pip
pip install pyobjc-framework-carbonuv
uv add pyobjc-framework-carbonpoetry
poetry add pyobjc-framework-carbonInstalling pyobjc-framework-Carbon
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a recent release (3 days old) and steady repository activity. Requires pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open-source and commercial projects.
Quickstart
# Install
pip install pyobjc-framework-carbon
# Import and use
from Carbon import Evt
# Call Carbon APIs as documented in Apple's Carbon framework docs
macOS only; requires Python 3.10 or later and a CPython interpreter on macOS.
Verify before relying
- Whether Carbon APIs remain actively used in modern macOS development or if this is primarily for legacy code compatibility.
- Specific Carbon framework capabilities exposed by this wrapper beyond the general statement that it provides access to Carbon.
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 | 538,038/month — #6,115 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_carbon-12.2.2-py2.py3-none-any.whl
Keywords: PyObjC, Carbon
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
pyobjc-framework-SystemExtensionsProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
pyobjc-framework-NetworkExtensionProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-PhotosProvides Python bindings to macOS's Photos…
permissive · top 15,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-BrowserEngineKitProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-VideoSubscriberAccountProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-AddressBookProvides Python bindings to macOS's AddressBook…
permissive · top 15,000 on PyPI
pyobjc-framework-SafetyKitProvides Python bindings to macOS's SafetyKit…
permissive · top 15,000 on PyPI
pyobjc-framework-MailKitProvides Python bindings to macOS's MailKit…
permissive · top 15,000 on PyPI