pyobjc-framework-DataDetection
Wrappers for the framework DataDetection on macOS
What it is and what it does
This package wraps Apple's macOS DataDetection framework for use in Python via PyObjC. DataDetection is a native macOS framework that recognizes and extracts structured data from unstructured text—dates, times, addresses, phone numbers, URLs, and similar patterns. The wrapper translates Objective-C framework calls into Python, letting you call DataDetection APIs directly from Python code.
It is a thin binding layer without its own documentation; you rely on Apple's DataDetection framework documentation and PyObjC's general translation guides to understand how to use it. The package is actively maintained, supports modern Python versions (3.10–3.15), and carries no known security vulnerabilities. It is macOS-only and requires the Cocoa framework bindings from PyObjC.
Use it for:
- Extract dates and times from user-provided text or documents on macOS applications
- Parse contact information (addresses, phone numbers) from unstructured input
- Identify and extract URLs and email addresses from text for automated processing
- Build macOS-native text analysis tools that leverage system-level data recognition
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to macOS's DataDetection framework, enabling detection and parsing of structured data like dates, addresses, and links from text.
Yes, if you are developing on macOS and need native data detection. The package is actively maintained, has low install friction, carries MIT licensing, and supports current Python versions. It is a straightforward wrapper to Apple's framework with no security issues. Install only if you are on macOS and need DataDetection capabilities; it is not portable to other platforms.
Install
pyobjc-framework-datadetection on PyPI
pip
pip install pyobjc-framework-datadetectionuv
uv add pyobjc-framework-datadetectionpoetry
poetry add pyobjc-framework-datadetectionInstalling pyobjc-framework-DataDetection
Before you install
Low friction install with active maintenance. Released 3 days ago, last commit 2026-08-14, and supports current Python versions (3.10–3.15). Depends on pyobjc-core and pyobjc-framework-Cocoa, both standard PyObjC components.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install pyobjc-framework-datadetection
from DataDetection import DDScannerResult
# Use DataDetection framework APIs via PyObjC bindings
macOS only; requires macOS system with DataDetection framework available. Python 3.10 or later required.
Verify before relying
- Specific DataDetection framework capabilities and API surface available in this wrapper version
- Whether wrapper includes all DataDetection classes and methods or a subset
- Performance characteristics when processing large text volumes
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 | 647,958/month — #5,588 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_datadetection-12.2.2-py2.py3-none-any.whl
Keywords: PyObjC, DataDetection
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-DeviceDiscoveryExtensionProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-LinkPresentationProvides Python bindings for macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-SensitiveContentAnalysisProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-FileProviderProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-NotificationCenterProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-NaturalLanguageProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-MapKitProvides Python bindings to Apple's MapKit…
permissive · top 15,000 on PyPI
pyobjc-framework-SafariServicesProvides 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