pyobjc-framework-NaturalLanguage
Wrappers for the framework NaturalLanguage on macOS
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-naturallanguageuv
uv add pyobjc-framework-naturallanguagepoetry
poetry add pyobjc-framework-naturallanguageInstalling 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
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-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
pyobjc-framework-VisionProvides Python bindings to macOS's Vision…
permissive · top 5,000 on PyPI
pyobjc-framework-MLComputeProvides Python bindings to Apple's MLCompute…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMLProvides Python bindings to Apple's CoreML…
permissive · top 5,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-LatentSemanticMappingProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-AutomaticAssessmentConfigurationProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreTextProvides Python bindings to macOS's CoreText…
permissive · top 5,000 on PyPI
pyobjc-framework-DataDetectionProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-ApplicationServicesProvides Python bindings to macOS…
permissive · top 5,000 on PyPI