skillfed

pyobjc-framework-DataDetection

Wrappers for the framework DataDetection on macOS

pyobjc-framework-datadetection v12.2.2 648.0K downloads/30d#5,588 on PyPI803
Permissive license MIT Active released

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

uv

uv add pyobjc-framework-datadetection

poetry

poetry add pyobjc-framework-datadetection

Installing 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

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 data detection pythonparse dates addresses links textpyobjc datadetection frameworknatural language data extraction maccocoa datadetection bindings
macos-onlypyobjc-bindingtext-extraction

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

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-LinkPresentation

Provides Python bindings for macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-SensitiveContentAnalysis

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-FileProvider

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-NotificationCenter

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-NaturalLanguage

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-MapKit

Provides Python bindings to Apple's MapKit…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI