pyobjc-framework-SensitiveContentAnalysis 11.1__tar.gz → 12.0__tar.gz
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.
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/SensitiveContentAnalysis/__init__.py +6 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/SensitiveContentAnalysis/_metadata.py +68 -3
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/PKG-INFO +6 -4
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/SOURCES.txt +3 -4
- pyobjc_framework_sensitivecontentanalysis-12.0/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_sensitivecontentanalysis-12.0/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/requires.txt +3 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/PKG-INFO +6 -4
- pyobjc_framework_sensitivecontentanalysis-12.0/PyObjCTest/test_scvideostreamanalyzer.py +61 -0
- pyobjc_framework_sensitivecontentanalysis-12.0/metadata/SensitiveContentAnalysis.fwinfo +56 -0
- pyobjc_framework_sensitivecontentanalysis-12.0/metadata/raw/arm64-26.0.fwinfo +487 -0
- pyobjc_framework_sensitivecontentanalysis-12.0/metadata/raw/x86_64-26.0.fwinfo +487 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/pyobjc_setup.py +2 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/setup.py +1 -1
- pyobjc_framework_sensitivecontentanalysis-11.1/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_sensitivecontentanalysis-11.1/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/requires.txt +0 -3
- pyobjc_framework_sensitivecontentanalysis-11.1/metadata/SensitiveContentAnalysis.fwinfo +0 -22
- pyobjc_framework_sensitivecontentanalysis-11.1/metadata/raw/arm64-14.5.fwinfo +0 -217
- pyobjc_framework_sensitivecontentanalysis-11.1/metadata/raw/arm64-15.0.fwinfo +0 -217
- pyobjc_framework_sensitivecontentanalysis-11.1/metadata/raw/x86_64-14.5.fwinfo +0 -217
- pyobjc_framework_sensitivecontentanalysis-11.1/metadata/raw/x86_64-15.0.fwinfo +0 -217
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/top_level.txt +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/License.txt +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/MANIFEST.in +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/PyObjCTest/test_scsensitivityanalysis.py +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/PyObjCTest/test_scsensitivityanalyzer.py +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/PyObjCTest/test_sensitivecontentanalysis.py +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/metadata/metadata.ini +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/pyproject.toml +0 -0
- {pyobjc_framework_sensitivecontentanalysis-11.1 → pyobjc_framework_sensitivecontentanalysis-12.0}/setup.cfg +0 -0
|
@@ -29,6 +29,12 @@ def _setup():
|
|
|
29
29
|
globals()["__dir__"] = dir_func
|
|
30
30
|
globals()["__getattr__"] = getattr_func
|
|
31
31
|
|
|
32
|
+
for cls, sel in (
|
|
33
|
+
("SCVideoStreamAnalyzer", b"new"),
|
|
34
|
+
("SCVideoStreamAnalyzer", b"init"),
|
|
35
|
+
):
|
|
36
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
37
|
+
|
|
32
38
|
del sys.modules["SensitiveContentAnalysis._metadata"]
|
|
33
39
|
|
|
34
40
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Sun Aug 3 09:24:52 2025
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -31,9 +31,14 @@ else:
|
|
|
31
31
|
|
|
32
32
|
misc = {}
|
|
33
33
|
constants = """$$"""
|
|
34
|
-
enums = """$SCSensitivityAnalysisPolicyDescriptiveInterventions@2$SCSensitivityAnalysisPolicyDisabled@0$SCSensitivityAnalysisPolicySimpleInterventions@1$"""
|
|
34
|
+
enums = """$SCSensitivityAnalysisPolicyDescriptiveInterventions@2$SCSensitivityAnalysisPolicyDisabled@0$SCSensitivityAnalysisPolicySimpleInterventions@1$SCVideoStreamAnalyzerStreamDirectionIncoming@2$SCVideoStreamAnalyzerStreamDirectionOutgoing@1$"""
|
|
35
35
|
misc.update(
|
|
36
|
-
{
|
|
36
|
+
{
|
|
37
|
+
"SCVideoStreamAnalyzerStreamDirection": NewType(
|
|
38
|
+
"SCVideoStreamAnalyzerStreamDirection", int
|
|
39
|
+
),
|
|
40
|
+
"SCSensitivityAnalysisPolicy": NewType("SCSensitivityAnalysisPolicy", int),
|
|
41
|
+
}
|
|
37
42
|
)
|
|
38
43
|
misc.update({})
|
|
39
44
|
misc.update({})
|
|
@@ -41,6 +46,13 @@ r = objc.registerMetaDataForSelector
|
|
|
41
46
|
objc._updatingMetadata(True)
|
|
42
47
|
try:
|
|
43
48
|
r(b"SCSensitivityAnalysis", b"isSensitive", {"retval": {"type": b"Z"}})
|
|
49
|
+
r(
|
|
50
|
+
b"SCSensitivityAnalysis",
|
|
51
|
+
b"shouldIndicateSensitivity",
|
|
52
|
+
{"retval": {"type": b"Z"}},
|
|
53
|
+
)
|
|
54
|
+
r(b"SCSensitivityAnalysis", b"shouldInterruptVideo", {"retval": {"type": b"Z"}})
|
|
55
|
+
r(b"SCSensitivityAnalysis", b"shouldMuteAudio", {"retval": {"type": b"Z"}})
|
|
44
56
|
r(
|
|
45
57
|
b"SCSensitivityAnalyzer",
|
|
46
58
|
b"analyzeCGImage:completionHandler:",
|
|
@@ -95,8 +107,61 @@ try:
|
|
|
95
107
|
}
|
|
96
108
|
},
|
|
97
109
|
)
|
|
110
|
+
r(
|
|
111
|
+
b"SCVideoStreamAnalyzer",
|
|
112
|
+
b"analysisChangedHandler",
|
|
113
|
+
{
|
|
114
|
+
"retval": {
|
|
115
|
+
"callable": {
|
|
116
|
+
"retval": {"type": b"v"},
|
|
117
|
+
"arguments": {
|
|
118
|
+
0: {"type": b"^v"},
|
|
119
|
+
1: {"type": b"@"},
|
|
120
|
+
2: {"type": b"@"},
|
|
121
|
+
},
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
)
|
|
126
|
+
r(
|
|
127
|
+
b"SCVideoStreamAnalyzer",
|
|
128
|
+
b"beginAnalysisOfCaptureDeviceInput:error:",
|
|
129
|
+
{"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
130
|
+
)
|
|
131
|
+
r(
|
|
132
|
+
b"SCVideoStreamAnalyzer",
|
|
133
|
+
b"beginAnalysisOfDecompressionSession:error:",
|
|
134
|
+
{"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
135
|
+
)
|
|
136
|
+
r(
|
|
137
|
+
b"SCVideoStreamAnalyzer",
|
|
138
|
+
b"initWithParticipantUUID:streamDirection:error:",
|
|
139
|
+
{"arguments": {4: {"type_modifier": b"o"}}},
|
|
140
|
+
)
|
|
141
|
+
r(
|
|
142
|
+
b"SCVideoStreamAnalyzer",
|
|
143
|
+
b"setAnalysisChangedHandler:",
|
|
144
|
+
{
|
|
145
|
+
"arguments": {
|
|
146
|
+
2: {
|
|
147
|
+
"callable": {
|
|
148
|
+
"retval": {"type": b"v"},
|
|
149
|
+
"arguments": {
|
|
150
|
+
0: {"type": b"^v"},
|
|
151
|
+
1: {"type": b"@"},
|
|
152
|
+
2: {"type": b"@"},
|
|
153
|
+
},
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
)
|
|
98
159
|
finally:
|
|
99
160
|
objc._updatingMetadata(False)
|
|
161
|
+
|
|
162
|
+
objc.registerNewKeywordsFromSelector(
|
|
163
|
+
"SCVideoStreamAnalyzer", b"initWithParticipantUUID:streamDirection:error:"
|
|
164
|
+
)
|
|
100
165
|
expressions = {}
|
|
101
166
|
|
|
102
167
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-SensitiveContentAnalysis
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework SensitiveContentAnalysis on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,15 +23,17 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
27
29
|
Classifier: Programming Language :: Objective C
|
|
28
30
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
31
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
32
|
Requires-Python: >=3.9
|
|
31
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
-
Requires-Dist: pyobjc-core>=
|
|
33
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Quartz>=
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
36
|
+
Requires-Dist: pyobjc-framework-Quartz>=12.0
|
|
35
37
|
Dynamic: author
|
|
36
38
|
Dynamic: author-email
|
|
37
39
|
Dynamic: classifier
|
|
@@ -15,10 +15,9 @@ Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/top_level.txt
|
|
|
15
15
|
PyObjCTest/__init__.py
|
|
16
16
|
PyObjCTest/test_scsensitivityanalysis.py
|
|
17
17
|
PyObjCTest/test_scsensitivityanalyzer.py
|
|
18
|
+
PyObjCTest/test_scvideostreamanalyzer.py
|
|
18
19
|
PyObjCTest/test_sensitivecontentanalysis.py
|
|
19
20
|
metadata/SensitiveContentAnalysis.fwinfo
|
|
20
21
|
metadata/metadata.ini
|
|
21
|
-
metadata/raw/arm64-
|
|
22
|
-
metadata/raw/
|
|
23
|
-
metadata/raw/x86_64-14.5.fwinfo
|
|
24
|
-
metadata/raw/x86_64-15.0.fwinfo
|
|
22
|
+
metadata/raw/arm64-26.0.fwinfo
|
|
23
|
+
metadata/raw/x86_64-26.0.fwinfo
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-SensitiveContentAnalysis
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework SensitiveContentAnalysis on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,15 +23,17 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
27
29
|
Classifier: Programming Language :: Objective C
|
|
28
30
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
31
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
32
|
Requires-Python: >=3.9
|
|
31
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
-
Requires-Dist: pyobjc-core>=
|
|
33
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Quartz>=
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
36
|
+
Requires-Dist: pyobjc-framework-Quartz>=12.0
|
|
35
37
|
Dynamic: author
|
|
36
38
|
Dynamic: author-email
|
|
37
39
|
Dynamic: classifier
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
2
|
+
|
|
3
|
+
import SensitiveContentAnalysis
|
|
4
|
+
|
|
5
|
+
SCVideoStreamAnalysisChangeHandler = b"v@@"
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class TestSCVideoStreamAnalyzer(TestCase):
|
|
9
|
+
def test_constants(self):
|
|
10
|
+
self.assertIsEnumType(
|
|
11
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzerStreamDirection
|
|
12
|
+
)
|
|
13
|
+
self.assertEqual(
|
|
14
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzerStreamDirectionOutgoing, 1
|
|
15
|
+
)
|
|
16
|
+
self.assertEqual(
|
|
17
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzerStreamDirectionIncoming, 2
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
@min_os_level("26.0")
|
|
21
|
+
def test_methods26_0(self):
|
|
22
|
+
self.assertResultIsBlock(
|
|
23
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzer.analysisChangedHandler,
|
|
24
|
+
SCVideoStreamAnalysisChangeHandler,
|
|
25
|
+
)
|
|
26
|
+
self.assertArgIsBlock(
|
|
27
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzer.setAnalysisChangedHandler_,
|
|
28
|
+
0,
|
|
29
|
+
SCVideoStreamAnalysisChangeHandler,
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
self.assertArgIsOut(
|
|
33
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzer.initWithParticipantUUID_streamDirection_error_,
|
|
34
|
+
2,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
self.assertResultIsBOOL(
|
|
38
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzer.beginAnalysisOfDecompressionSession_error_
|
|
39
|
+
)
|
|
40
|
+
self.assertArgIsOut(
|
|
41
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzer.beginAnalysisOfDecompressionSession_error_,
|
|
42
|
+
1,
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
self.assertResultIsBOOL(
|
|
46
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzer.beginAnalysisOfCaptureDeviceInput_error_
|
|
47
|
+
)
|
|
48
|
+
self.assertArgIsOut(
|
|
49
|
+
SensitiveContentAnalysis.SCVideoStreamAnalyzer.beginAnalysisOfCaptureDeviceInput_error_,
|
|
50
|
+
1,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
self.assertResultIsBOOL(
|
|
54
|
+
SensitiveContentAnalysis.SCSensitivityAnalysis.shouldInterruptVideo
|
|
55
|
+
)
|
|
56
|
+
self.assertResultIsBOOL(
|
|
57
|
+
SensitiveContentAnalysis.SCSensitivityAnalysis.shouldIndicateSensitivity
|
|
58
|
+
)
|
|
59
|
+
self.assertResultIsBOOL(
|
|
60
|
+
SensitiveContentAnalysis.SCSensitivityAnalysis.shouldMuteAudio
|
|
61
|
+
)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// objective.metadata exceptions file, see its document
|
|
2
|
+
// for information on how to update this file.
|
|
3
|
+
{
|
|
4
|
+
"definitions": {
|
|
5
|
+
"classes": {
|
|
6
|
+
"SCSensitivityAnalyzer": {
|
|
7
|
+
"methods": [
|
|
8
|
+
{
|
|
9
|
+
"args": {
|
|
10
|
+
"0": {}
|
|
11
|
+
},
|
|
12
|
+
"class_method": false,
|
|
13
|
+
"selector": "analyzeCGImage:completionHandler:"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"SCVideoStreamAnalyzer": {
|
|
18
|
+
"methods": [
|
|
19
|
+
{
|
|
20
|
+
"retval": {
|
|
21
|
+
"callable": {
|
|
22
|
+
"arguments": {
|
|
23
|
+
"0": { "type": "^v" },
|
|
24
|
+
"1": { "type": "@" },
|
|
25
|
+
"2": { "type": "@" }
|
|
26
|
+
},
|
|
27
|
+
"retval": { "type": "v" }
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"class_method": false,
|
|
31
|
+
"selector": "analysisChangedHandler"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"args": {
|
|
35
|
+
"0": {
|
|
36
|
+
"callable": {
|
|
37
|
+
"arguments": {
|
|
38
|
+
"0": { "type": "^v" },
|
|
39
|
+
"1": { "type": "@" },
|
|
40
|
+
"2": { "type": "@" }
|
|
41
|
+
},
|
|
42
|
+
"retval": { "type": "v" }
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"class_method": false,
|
|
47
|
+
"selector": "setAnalysisChangedHandler:"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"formal_protocols": {},
|
|
53
|
+
"functions": {},
|
|
54
|
+
"informal_protocols": {}
|
|
55
|
+
}
|
|
56
|
+
}
|