pyobjc-framework-SensitiveContentAnalysis 11.0__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.
Files changed (33) hide show
  1. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/SensitiveContentAnalysis/__init__.py +6 -0
  2. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/SensitiveContentAnalysis/_metadata.py +68 -3
  3. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/PKG-INFO +20 -7
  4. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/SOURCES.txt +3 -4
  5. pyobjc_framework_sensitivecontentanalysis-12.0/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/pyobjc-build-info.txt +3 -0
  6. pyobjc_framework_sensitivecontentanalysis-12.0/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/requires.txt +3 -0
  7. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/License.txt +1 -1
  8. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/PKG-INFO +20 -7
  9. pyobjc_framework_sensitivecontentanalysis-12.0/PyObjCTest/__init__.py +1 -0
  10. pyobjc_framework_sensitivecontentanalysis-12.0/PyObjCTest/test_scvideostreamanalyzer.py +61 -0
  11. pyobjc_framework_sensitivecontentanalysis-12.0/metadata/SensitiveContentAnalysis.fwinfo +56 -0
  12. pyobjc_framework_sensitivecontentanalysis-12.0/metadata/raw/arm64-26.0.fwinfo +487 -0
  13. pyobjc_framework_sensitivecontentanalysis-12.0/metadata/raw/x86_64-26.0.fwinfo +487 -0
  14. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/pyobjc_setup.py +9 -41
  15. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/setup.py +1 -1
  16. pyobjc_framework_sensitivecontentanalysis-11.0/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/pyobjc-build-info.txt +0 -3
  17. pyobjc_framework_sensitivecontentanalysis-11.0/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/requires.txt +0 -3
  18. pyobjc_framework_sensitivecontentanalysis-11.0/PyObjCTest/__init__.py +0 -1
  19. pyobjc_framework_sensitivecontentanalysis-11.0/metadata/SensitiveContentAnalysis.fwinfo +0 -22
  20. pyobjc_framework_sensitivecontentanalysis-11.0/metadata/raw/arm64-14.5.fwinfo +0 -217
  21. pyobjc_framework_sensitivecontentanalysis-11.0/metadata/raw/arm64-15.0.fwinfo +0 -217
  22. pyobjc_framework_sensitivecontentanalysis-11.0/metadata/raw/x86_64-14.5.fwinfo +0 -217
  23. pyobjc_framework_sensitivecontentanalysis-11.0/metadata/raw/x86_64-15.0.fwinfo +0 -217
  24. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/dependency_links.txt +0 -0
  25. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/not-zip-safe +0 -0
  26. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/Lib/pyobjc_framework_SensitiveContentAnalysis.egg-info/top_level.txt +0 -0
  27. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/MANIFEST.in +0 -0
  28. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/PyObjCTest/test_scsensitivityanalysis.py +0 -0
  29. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/PyObjCTest/test_scsensitivityanalyzer.py +0 -0
  30. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/PyObjCTest/test_sensitivecontentanalysis.py +0 -0
  31. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/metadata/metadata.ini +0 -0
  32. {pyobjc_framework_sensitivecontentanalysis-11.0 → pyobjc_framework_sensitivecontentanalysis-12.0}/pyproject.toml +0 -0
  33. {pyobjc_framework_sensitivecontentanalysis-11.0 → 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: Tue Jun 11 10:19:56 2024
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
- {"SCSensitivityAnalysisPolicy": NewType("SCSensitivityAnalysisPolicy", int)}
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,18 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-SensitiveContentAnalysis
3
- Version: 11.0
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
7
7
  Author-email: pyobjc-dev@lists.sourceforge.net
8
- License: MIT License
8
+ License: MIT
9
9
  Keywords: PyObjC,SensitiveContentAnalysis
10
10
  Platform: MacOS X (>=14.0)
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Environment :: Console
13
13
  Classifier: Environment :: MacOS X :: Cocoa
14
14
  Classifier: Intended Audience :: Developers
15
- Classifier: License :: OSI Approved :: MIT License
16
15
  Classifier: Natural Language :: English
17
16
  Classifier: Operating System :: MacOS :: MacOS X
18
17
  Classifier: Programming Language :: Python
@@ -24,15 +23,29 @@ Classifier: Programming Language :: Python :: 3.11
24
23
  Classifier: Programming Language :: Python :: 3.12
25
24
  Classifier: Programming Language :: Python :: 3.13
26
25
  Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
27
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
28
29
  Classifier: Programming Language :: Objective C
29
30
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
31
  Classifier: Topic :: Software Development :: User Interfaces
31
32
  Requires-Python: >=3.9
32
33
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=11.0
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.0
35
- Requires-Dist: pyobjc-framework-Quartz>=11.0
34
+ Requires-Dist: pyobjc-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
+ Requires-Dist: pyobjc-framework-Quartz>=12.0
37
+ Dynamic: author
38
+ Dynamic: author-email
39
+ Dynamic: classifier
40
+ Dynamic: description
41
+ Dynamic: description-content-type
42
+ Dynamic: home-page
43
+ Dynamic: keywords
44
+ Dynamic: license
45
+ Dynamic: platform
46
+ Dynamic: requires-dist
47
+ Dynamic: requires-python
48
+ Dynamic: summary
36
49
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
37
50
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
38
51
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -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-14.5.fwinfo
22
- metadata/raw/arm64-15.0.fwinfo
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
@@ -0,0 +1,3 @@
1
+ macOS 26.0.1 (25A362)
2
+ Apple clang version 17.0.0 (clang-1700.3.19.1)
3
+ SDK: macOS 26.0
@@ -0,0 +1,3 @@
1
+ pyobjc-core>=12.0
2
+ pyobjc-framework-Cocoa>=12.0
3
+ pyobjc-framework-Quartz>=12.0
@@ -1,7 +1,7 @@
1
1
  (This is the MIT license, note that libffi-src is a separate product with its own license)
2
2
 
3
3
  Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
- Copyright 2003-2024 - Ronald Oussoren
4
+ Copyright 2003-2025 - Ronald Oussoren
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
7
 
@@ -1,18 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-SensitiveContentAnalysis
3
- Version: 11.0
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
7
7
  Author-email: pyobjc-dev@lists.sourceforge.net
8
- License: MIT License
8
+ License: MIT
9
9
  Keywords: PyObjC,SensitiveContentAnalysis
10
10
  Platform: MacOS X (>=14.0)
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Environment :: Console
13
13
  Classifier: Environment :: MacOS X :: Cocoa
14
14
  Classifier: Intended Audience :: Developers
15
- Classifier: License :: OSI Approved :: MIT License
16
15
  Classifier: Natural Language :: English
17
16
  Classifier: Operating System :: MacOS :: MacOS X
18
17
  Classifier: Programming Language :: Python
@@ -24,15 +23,29 @@ Classifier: Programming Language :: Python :: 3.11
24
23
  Classifier: Programming Language :: Python :: 3.12
25
24
  Classifier: Programming Language :: Python :: 3.13
26
25
  Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
27
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
28
29
  Classifier: Programming Language :: Objective C
29
30
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
31
  Classifier: Topic :: Software Development :: User Interfaces
31
32
  Requires-Python: >=3.9
32
33
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=11.0
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.0
35
- Requires-Dist: pyobjc-framework-Quartz>=11.0
34
+ Requires-Dist: pyobjc-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
+ Requires-Dist: pyobjc-framework-Quartz>=12.0
37
+ Dynamic: author
38
+ Dynamic: author-email
39
+ Dynamic: classifier
40
+ Dynamic: description
41
+ Dynamic: description-content-type
42
+ Dynamic: home-page
43
+ Dynamic: keywords
44
+ Dynamic: license
45
+ Dynamic: platform
46
+ Dynamic: requires-dist
47
+ Dynamic: requires-python
48
+ Dynamic: summary
36
49
 
37
50
 
38
51
  Wrappers for the "SensitiveContentAnalysis" framework on macOS.
@@ -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
+ }