pyobjc-framework-LatentSemanticMapping
Wrappers for the framework LatentSemanticMapping on macOS
What it is and what it does
This package wraps Apple's LatentSemanticMapping framework for use in Python, enabling text and token-based content classification into custom categories on macOS. It is part of the PyObjC project, which bridges Objective-C frameworks to Python, and requires both pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies.
The package is production-stable and actively maintained, supporting Python 3.10 through 3.15. However, the underlying macOS framework has minimal Apple documentation, which significantly limits practical usability. Users will need to consult both PyObjC's translation documentation and Apple's sparse framework guides to implement classification workflows effectively.
Use it for:
- Build text classification systems on macOS that leverage native framework APIs without reimplementing semantic analysis.
- Integrate macOS-native text categorization into Python applications that need to run on Apple platforms.
- Prototype semantic text analysis workflows using Python while accessing low-level macOS framework capabilities.
- Develop cross-language applications that bridge Python logic with Objective-C framework functionality on macOS.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to macOS's LatentSemanticMapping framework for classifying text and token-based content into developer-defined categories.
Yes, if you are developing on macOS and need to classify text using the native LatentSemanticMapping framework from Python. The package is actively maintained, has no known vulnerabilities, and installs with low friction. However, be aware that Apple's minimal documentation for the underlying framework makes practical implementation challenging—you will need to invest time in understanding both PyObjC's translation layer and Apple's sparse framework documentation before productive use.
Install
pyobjc-framework-latentsemanticmapping on PyPI
pip
pip install pyobjc-framework-latentsemanticmappinguv
uv add pyobjc-framework-latentsemanticmappingpoetry
poetry add pyobjc-framework-latentsemanticmappingInstalling pyobjc-framework-LatentSemanticMapping
Before you install
Low friction installation with a pure-wheel distribution. Actively maintained as of 3 days ago with recent commits and no known vulnerabilities. Requires pyobjc-core and pyobjc-framework-Cocoa as dependencies.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal legal friction for commercial or private projects.
Quickstart
pip install pyobjc-framework-latentsemanticmapping
from LatentSemanticMapping import LSMCategory
# Access macOS LatentSemanticMapping framework via Python
Requires macOS 10.5 or later and Python 3.10+; framework is not available on other operating systems.
Verify before relying
- Practical usability of the underlying LatentSemanticMapping framework given Apple's minimal documentation, as noted in the package description.
- Whether the framework remains actively maintained by Apple or is deprecated on modern macOS versions.
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 | 656,410/month — #5,493 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_latentsemanticmapping-12.2.2-py2.py3-none-any.whl
Keywords: PyObjC, LatentSemanticMapping
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-InputMethodKitProvides Python bindings to macOS's…
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-NaturalLanguageProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-SharedWithYouCoreProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-MediaExtensionProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-KernelManagementProvides 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-AutomaticAssessmentConfigurationProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-VisionProvides Python bindings to macOS's Vision…
permissive · top 5,000 on PyPI