skillfed

pyobjc-framework-Carbon

Wrappers for the framework Carbon on macOS

pyobjc-framework-carbon v12.2.2 538.0K downloads/30d#6,115 on PyPI803
Permissive license MIT Active released

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

uv

uv add pyobjc-framework-carbon

poetry

poetry add pyobjc-framework-carbon

Installing 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

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 Carbon framework bindingsPyObjC Carbon wrapperPython Carbon API accessmacOS system framework PythonCarbon framework Python bridgePyObjC framework extensionmacOS native API Python
macos-nativeframework-bindingslegacy-api

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

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-NetworkExtension

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-Photos

Provides Python bindings to macOS's Photos…

permissive · top 15,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-BrowserEngineKit

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-VideoSubscriberAccount

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-AddressBook

Provides Python bindings to macOS's AddressBook…

permissive · top 15,000 on PyPI

pyobjc-framework-SafetyKit

Provides Python bindings to macOS's SafetyKit…

permissive · top 15,000 on PyPI

pyobjc-framework-MailKit

Provides Python bindings to macOS's MailKit…

permissive · top 15,000 on PyPI