skillfed

pyobjc-framework-NaturalLanguage

Wrappers for the framework NaturalLanguage on macOS

pyobjc-framework-naturallanguage v12.2.2 651.8K downloads/30d#5,547 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package is a thin Python wrapper around macOS's native NaturalLanguage framework, part of the broader PyObjC project that bridges Objective-C and Python. It allows Python developers on macOS to call Apple's built-in text processing and language analysis tools directly, without reimplementing those capabilities in Python or depending on third-party NLP libraries.

The package provides no standalone documentation—instead, users must consult Apple's official NaturalLanguage framework documentation and PyObjC's general translation guides to understand how to use it. It is actively maintained, supports modern Python versions (3.10 through 3.15), and carries no known security vulnerabilities. Installation is straightforward on macOS, though the package is useless outside that ecosystem.

Use it for:

  • Detect the language of user-supplied text using Apple's native language identification on macOS.
  • Tokenize or analyze text using macOS's built-in linguistic tools from a Python application.
  • Build a macOS-native text processing pipeline that leverages the NaturalLanguage framework without external dependencies.
  • Integrate Apple's language analysis into a PyObjC-based macOS desktop application.
  • Access NaturalLanguage capabilities from Python when building tools that must run on macOS only.

Worth the install?

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

Provides Python bindings to macOS's NaturalLanguage framework, enabling access to Apple's native text processing and language analysis capabilities from Python code.

Yes, if you are building Python on macOS and need to use Apple's NaturalLanguage framework. The package is actively maintained, has low install friction, carries no security issues, and uses a permissive license. No, if you are not on macOS or if you need language processing that works cross-platform—use a general-purpose NLP library instead. Requires Python 3.10+.

Install

pyobjc-framework-naturallanguage on PyPI

pip

pip install pyobjc-framework-naturallanguage

uv

uv add pyobjc-framework-naturallanguage

poetry

poetry add pyobjc-framework-naturallanguage

Installing pyobjc-framework-NaturalLanguage

Before you install

Low friction installation with active maintenance—released 3 days ago with last commit on 2026-08-14. Depends on pyobjc-core and pyobjc-framework-Cocoa, both standard PyObjC components. Requires Python 3.10 or later and runs only on macOS.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open-source and proprietary projects.

Quickstart

pip install pyobjc-framework-naturallanguage

from NaturalLanguage import NLLanguageRecognizer
recognizer = NLLanguageRecognizer.new()

Requires macOS; will not function on Linux or Windows. Requires Python 3.10 or later.

Verify before relying

  • Specific NaturalLanguage framework capabilities exposed (e.g., tokenization, sentiment analysis, language detection) are not detailed in the fact sheet.
  • Whether this package wraps the full NaturalLanguage API surface or a subset remains unclear from the description.

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

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

Keywords: PyObjC, NaturalLanguage

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 natural language processingpyobjc framework bindingsapple nlp pythontext analysis macoslinguistic analysis cocoaobjective-c bridge pythonmacos language tools
macos-onlyobjective-c-bridgenlp

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

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-Vision

Provides Python bindings to macOS's Vision…

permissive · top 5,000 on PyPI

pyobjc-framework-MLCompute

Provides Python bindings to Apple's MLCompute…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreML

Provides Python bindings to Apple's CoreML…

permissive · top 5,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-LatentSemanticMapping

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-AutomaticAssessmentConfiguration

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreText

Provides Python bindings to macOS's CoreText…

permissive · top 5,000 on PyPI

pyobjc-framework-DataDetection

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ApplicationServices

Provides Python bindings to macOS…

permissive · top 5,000 on PyPI