skillfed

pyobjc-framework-Speech

Wrappers for the framework Speech on macOS

pyobjc-framework-speech v12.2.2 660.3K downloads/30d#5,460 on PyPI803
Permissive license MIT Active released

What it is and what it does

pyobjc-framework-speech is a thin Python wrapper around macOS's native Speech framework, bridging Objective-C APIs to Python via the PyObjC project. It allows developers to access text-to-speech synthesis and speech recognition capabilities built into macOS without calling external services or installing additional speech engines.

The package is part of the larger PyObjC ecosystem and provides direct bindings to Apple's Speech framework—no higher-level abstraction layer. Users must consult Apple's framework documentation and PyObjC's translation guides to understand how Objective-C concepts map to Python. It is actively maintained, supports current Python versions (3.10–3.15), and carries no known security vulnerabilities.

Use it for:

  • Add native macOS text-to-speech output to desktop applications without external dependencies.
  • Implement speech recognition features in macOS apps that need to transcribe audio input.
  • Build accessibility features (screen readers, voice commands) for macOS-native Python tools.
  • Prototype voice-enabled interfaces on macOS before porting to cross-platform solutions.

Worth the install?

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

Provides Python bindings to macOS's native Speech framework, enabling text-to-speech and speech recognition capabilities through Objective-C bridge.

Yes, if you are building macOS-specific Python applications and need native speech capabilities. The active maintenance, permissive MIT license, and lack of vulnerabilities make it safe to use. Install friction is medium due to platform specificity, but that is inherent to macOS framework bindings. Not suitable for cross-platform projects.

Install

pyobjc-framework-speech on PyPI

pip

pip install pyobjc-framework-speech

uv

uv add pyobjc-framework-speech

poetry

poetry add pyobjc-framework-speech

Installing pyobjc-framework-Speech

Before you install

Medium install friction due to platform-specific wheels (macOS only, multiple CPU architectures). Requires pyobjc-core and pyobjc-framework-Cocoa as dependencies. Actively maintained with recent releases.

License in practice

MIT license permits commercial and private use with minimal restrictions—suitable for most projects.

Quickstart

pip install pyobjc-framework-speech

from Speech import SpeechSynthesizer
synthesizer = SpeechSynthesizer.alloc().init()
synthesizer.startSpeakingString_("Hello, world")

macOS only; requires Python 3.10 or later and a macOS system with the Speech framework available.

Verify before relying

  • Whether the Speech framework is available on all supported macOS versions or requires a minimum OS version.
  • Performance characteristics and latency of speech synthesis and recognition operations.
  • Whether real-time speech recognition (microphone input) is supported or only pre-recorded audio.

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

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

Keywords: PyObjC, Speech

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 speech recognition pythontext to speech macospyobjc speech frameworknative macos audio synthesisobjective-c speech bindings
macos-onlyobjective-c-bindingsaccessibility

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

Provides Python bindings to macOS's CoreAudio…

permissive · top 15,000 on PyPI

pyobjc-framework-SoundAnalysis

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreAudioKit

Provides Python bindings for macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-AudioVideoBridging

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

azure-cognitiveservices-speech

Provides Python bindings to Microsoft's Speech…

unclear · top 5,000 on PyPI

pyobjc-framework-AVRouting

Provides Python bindings to Apple's AVRouting…

permissive · top 15,000 on PyPI

pyobjc-framework-BusinessChat

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreMedia

Provides Python bindings to macOS's CoreMedia…

permissive · top 15,000 on PyPI

pyobjc-framework-Vision

Provides Python bindings to macOS's Vision…

permissive · top 5,000 on PyPI

pyopenjtalk

Wraps OpenJTalk to provide Japanese…

permissive · top 15,000 on PyPI