pyobjc-framework-SensitiveContentAnalysis 11.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,35 @@
1
+ """
2
+ Python mapping for the SensitiveContentAnalysis framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import objc
13
+ import Foundation
14
+ import Quartz
15
+ from . import _metadata
16
+
17
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
18
+ name="SensitiveContentAnalysis",
19
+ frameworkIdentifier="com.apple.SensitiveContentAnalysis",
20
+ frameworkPath=objc.pathForFramework(
21
+ "/System/Library/Frameworks/SensitiveContentAnalysis.framework"
22
+ ),
23
+ globals_dict=globals(),
24
+ inline_list=None,
25
+ parents=(Foundation, Quartz),
26
+ metadict=_metadata.__dict__,
27
+ )
28
+
29
+ globals()["__dir__"] = dir_func
30
+ globals()["__getattr__"] = getattr_func
31
+
32
+ del sys.modules["SensitiveContentAnalysis._metadata"]
33
+
34
+
35
+ globals().pop("_setup")()
@@ -0,0 +1,102 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Tue Jun 11 10:19:56 2024
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ constants = """$$"""
34
+ enums = """$SCSensitivityAnalysisPolicyDescriptiveInterventions@2$SCSensitivityAnalysisPolicyDisabled@0$SCSensitivityAnalysisPolicySimpleInterventions@1$"""
35
+ misc.update(
36
+ {"SCSensitivityAnalysisPolicy": NewType("SCSensitivityAnalysisPolicy", int)}
37
+ )
38
+ misc.update({})
39
+ misc.update({})
40
+ r = objc.registerMetaDataForSelector
41
+ objc._updatingMetadata(True)
42
+ try:
43
+ r(b"SCSensitivityAnalysis", b"isSensitive", {"retval": {"type": b"Z"}})
44
+ r(
45
+ b"SCSensitivityAnalyzer",
46
+ b"analyzeCGImage:completionHandler:",
47
+ {
48
+ "arguments": {
49
+ 3: {
50
+ "callable": {
51
+ "retval": {"type": b"v"},
52
+ "arguments": {
53
+ 0: {"type": b"^v"},
54
+ 1: {"type": b"@"},
55
+ 2: {"type": b"@"},
56
+ },
57
+ }
58
+ }
59
+ }
60
+ },
61
+ )
62
+ r(
63
+ b"SCSensitivityAnalyzer",
64
+ b"analyzeImageFile:completionHandler:",
65
+ {
66
+ "arguments": {
67
+ 3: {
68
+ "callable": {
69
+ "retval": {"type": b"v"},
70
+ "arguments": {
71
+ 0: {"type": b"^v"},
72
+ 1: {"type": b"@"},
73
+ 2: {"type": b"@"},
74
+ },
75
+ }
76
+ }
77
+ }
78
+ },
79
+ )
80
+ r(
81
+ b"SCSensitivityAnalyzer",
82
+ b"analyzeVideoFile:completionHandler:",
83
+ {
84
+ "arguments": {
85
+ 3: {
86
+ "callable": {
87
+ "retval": {"type": b"v"},
88
+ "arguments": {
89
+ 0: {"type": b"^v"},
90
+ 1: {"type": b"@"},
91
+ 2: {"type": b"@"},
92
+ },
93
+ }
94
+ }
95
+ }
96
+ },
97
+ )
98
+ finally:
99
+ objc._updatingMetadata(False)
100
+ expressions = {}
101
+
102
+ # END OF FILE
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyobjc-framework-SensitiveContentAnalysis
3
+ Version: 11.0
4
+ Summary: Wrappers for the framework SensitiveContentAnalysis on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT License
9
+ Keywords: PyObjC,SensitiveContentAnalysis
10
+ Platform: MacOS X (>=14.0)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Objective C
29
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
+ Classifier: Topic :: Software Development :: User Interfaces
31
+ Requires-Python: >=3.9
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
34
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
35
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
36
+ Requires-Dist: pyobjc-core >=11.0
37
+ Requires-Dist: pyobjc-framework-Cocoa >=11.0
38
+ Requires-Dist: pyobjc-framework-Quartz >=11.0
39
+
40
+
41
+ Wrappers for the "SensitiveContentAnalysis" framework on macOS.
42
+
43
+ These wrappers don't include documentation, please check Apple's documentation
44
+ for information on how to use this framework and PyObjC's documentation
45
+ for general tips and tricks regarding the translation between Python
46
+ and (Objective-)C frameworks
47
+
48
+
49
+ Project links
50
+ -------------
51
+
52
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
53
+
54
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
55
+
56
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
57
+
@@ -0,0 +1,7 @@
1
+ SensitiveContentAnalysis/__init__.py,sha256=W-T--olpOOti-ZEilHI5E9-4Rad9Vhfq5quEdVe8ogE,940
2
+ SensitiveContentAnalysis/_metadata.py,sha256=ot89nY9CJ2CkvUE9P7rdMuMErdMj42f8O-6T2DnWtkQ,2453
3
+ pyobjc_framework_SensitiveContentAnalysis-11.0.dist-info/METADATA,sha256=0vUFG_son3hQ--hMjMJNVnktpUkzE7_3cEuFLVgif8k,2344
4
+ pyobjc_framework_SensitiveContentAnalysis-11.0.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
5
+ pyobjc_framework_SensitiveContentAnalysis-11.0.dist-info/pyobjc-build-info.txt,sha256=R5YEsJoyZ8GByMQk4k_4WWEg6V4RNO715NMQwx6YaNI,85
6
+ pyobjc_framework_SensitiveContentAnalysis-11.0.dist-info/top_level.txt,sha256=_fp13Qma0iCGJd35lcQusvxB2i28svutBcxYtS-f9Bc,25
7
+ pyobjc_framework_SensitiveContentAnalysis-11.0.dist-info/RECORD,,
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.43.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py2-none-any
5
+ Tag: py3-none-any
6
+
@@ -0,0 +1,3 @@
1
+ macOS 15.3 (24D5040f)
2
+ Apple clang version 16.0.0 (clang-1600.0.26.6)
3
+ SDK: macOS 15.2
@@ -0,0 +1 @@
1
+ SensitiveContentAnalysis