pyobjc-framework-MediaAccessibility 9.1.1__tar.gz → 10.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-MediaAccessibility-10.0/Lib/MediaAccessibility/__init__.py +34 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/Lib/MediaAccessibility/_metadata.py +19 -2
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/Lib/pyobjc_framework_MediaAccessibility.egg-info/PKG-INFO +5 -3
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/Lib/pyobjc_framework_MediaAccessibility.egg-info/SOURCES.txt +5 -1
- pyobjc-framework-MediaAccessibility-10.0/Lib/pyobjc_framework_MediaAccessibility.egg-info/requires.txt +2 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/PKG-INFO +5 -3
- pyobjc-framework-MediaAccessibility-10.0/PyObjCTest/test_maflashinglightsprocessing.py +20 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/MediaAccessibility.fwinfo +3 -0
- pyobjc-framework-MediaAccessibility-10.0/metadata/raw/arm64-14.0.fwinfo +529 -0
- pyobjc-framework-MediaAccessibility-10.0/metadata/raw/x86_64-14.0.fwinfo +529 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/pyobjc_setup.py +11 -2
- pyobjc-framework-MediaAccessibility-10.0/pyproject.toml +3 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/setup.py +7 -2
- pyobjc-framework-MediaAccessibility-9.1.1/Lib/MediaAccessibility/__init__.py +0 -30
- pyobjc-framework-MediaAccessibility-9.1.1/Lib/pyobjc_framework_MediaAccessibility.egg-info/requires.txt +0 -2
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/Lib/pyobjc_framework_MediaAccessibility.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/Lib/pyobjc_framework_MediaAccessibility.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/Lib/pyobjc_framework_MediaAccessibility.egg-info/top_level.txt +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/License.txt +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/MANIFEST.in +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/PyObjCTest/test_maaudiblemedia.py +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/PyObjCTest/test_macaptionappearance.py +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/PyObjCTest/test_maimagecaptioning.py +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/PyObjCTest/test_mavideoaccommodations.py +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/PyObjCTest/test_mediaaccessibility.py +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/metadata.ini +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/arm64-12.0.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/x86_64-10.10.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/x86_64-10.15.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/x86_64-10.16.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/x86_64-10.9.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/x86_64-12.0.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/setup.cfg +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the AddressBook 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 AppKit
|
|
13
|
+
import objc
|
|
14
|
+
from . import _metadata
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="MediaAccessibility",
|
|
18
|
+
frameworkIdentifier="com.apple.MediaAccessibility",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/MediaAccessibility.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(AppKit,),
|
|
25
|
+
metadict=_metadata.__dict__,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
globals()["__dir__"] = dir_func
|
|
29
|
+
globals()["__getattr__"] = getattr_func
|
|
30
|
+
|
|
31
|
+
del sys.modules["MediaAccessibility._metadata"]
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
globals().pop("_setup")()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Sat
|
|
3
|
+
# Last update: Sat Jul 8 11:33:25 2023
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -45,7 +45,13 @@ misc.update(
|
|
|
45
45
|
"MACaptionAppearanceDomain": NewType("MACaptionAppearanceDomain", int),
|
|
46
46
|
}
|
|
47
47
|
)
|
|
48
|
-
misc.update(
|
|
48
|
+
misc.update(
|
|
49
|
+
{
|
|
50
|
+
"MAFlashingLightsProcessorOptionKey": NewType(
|
|
51
|
+
"MAFlashingLightsProcessorOptionKey", str
|
|
52
|
+
)
|
|
53
|
+
}
|
|
54
|
+
)
|
|
49
55
|
misc.update({})
|
|
50
56
|
functions = {
|
|
51
57
|
"MACaptionAppearanceCopyFontDescriptorForStyle": (
|
|
@@ -167,6 +173,17 @@ functions = {
|
|
|
167
173
|
{"arguments": {1: {"null_accepted": True, "type_modifier": "o"}}},
|
|
168
174
|
),
|
|
169
175
|
}
|
|
176
|
+
r = objc.registerMetaDataForSelector
|
|
177
|
+
objc._updatingMetadata(True)
|
|
178
|
+
try:
|
|
179
|
+
r(b"MAFlashingLightsProcessor", b"canProcessSurface:", {"retval": {"type": b"Z"}})
|
|
180
|
+
r(
|
|
181
|
+
b"MAFlashingLightsProcessorResult",
|
|
182
|
+
b"surfaceProcessed",
|
|
183
|
+
{"retval": {"type": b"Z"}},
|
|
184
|
+
)
|
|
185
|
+
finally:
|
|
186
|
+
objc._updatingMetadata(False)
|
|
170
187
|
expressions = {}
|
|
171
188
|
|
|
172
189
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-MediaAccessibility
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.0
|
|
4
4
|
Summary: Wrappers for the framework MediaAccessibility on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,17 +18,19 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.8
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Objective C
|
|
28
28
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
29
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
+
Requires-Dist: pyobjc-core>=10.0
|
|
33
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.0
|
|
32
34
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
33
35
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
34
36
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
License.txt
|
|
2
2
|
MANIFEST.in
|
|
3
3
|
pyobjc_setup.py
|
|
4
|
+
pyproject.toml
|
|
4
5
|
setup.py
|
|
5
6
|
Lib/MediaAccessibility/__init__.py
|
|
6
7
|
Lib/MediaAccessibility/_metadata.py
|
|
@@ -13,6 +14,7 @@ Lib/pyobjc_framework_MediaAccessibility.egg-info/top_level.txt
|
|
|
13
14
|
PyObjCTest/__init__.py
|
|
14
15
|
PyObjCTest/test_maaudiblemedia.py
|
|
15
16
|
PyObjCTest/test_macaptionappearance.py
|
|
17
|
+
PyObjCTest/test_maflashinglightsprocessing.py
|
|
16
18
|
PyObjCTest/test_maimagecaptioning.py
|
|
17
19
|
PyObjCTest/test_mavideoaccommodations.py
|
|
18
20
|
PyObjCTest/test_mediaaccessibility.py
|
|
@@ -21,10 +23,12 @@ metadata/metadata.ini
|
|
|
21
23
|
metadata/raw/arm64-12.0.fwinfo
|
|
22
24
|
metadata/raw/arm64-12.3.fwinfo
|
|
23
25
|
metadata/raw/arm64-13.3.fwinfo
|
|
26
|
+
metadata/raw/arm64-14.0.fwinfo
|
|
24
27
|
metadata/raw/x86_64-10.10.fwinfo
|
|
25
28
|
metadata/raw/x86_64-10.15.fwinfo
|
|
26
29
|
metadata/raw/x86_64-10.16.fwinfo
|
|
27
30
|
metadata/raw/x86_64-10.9.fwinfo
|
|
28
31
|
metadata/raw/x86_64-12.0.fwinfo
|
|
29
32
|
metadata/raw/x86_64-12.3.fwinfo
|
|
30
|
-
metadata/raw/x86_64-13.3.fwinfo
|
|
33
|
+
metadata/raw/x86_64-13.3.fwinfo
|
|
34
|
+
metadata/raw/x86_64-14.0.fwinfo
|
{pyobjc-framework-MediaAccessibility-9.1.1 → pyobjc-framework-MediaAccessibility-10.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-MediaAccessibility
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.0
|
|
4
4
|
Summary: Wrappers for the framework MediaAccessibility on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,17 +18,19 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.8
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Objective C
|
|
28
28
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
29
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
+
Requires-Dist: pyobjc-core>=10.0
|
|
33
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.0
|
|
32
34
|
|
|
33
35
|
|
|
34
36
|
Wrappers for the "AVKit" framework on macOS introduced in macOS 10.9.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import MediaAccessibility
|
|
2
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class TestMAFlashingLightsProcessing(TestCase):
|
|
6
|
+
@min_os_level("14.0")
|
|
7
|
+
def testConstants14_0(self):
|
|
8
|
+
self.assertIsTypedEnum(
|
|
9
|
+
MediaAccessibility.MAFlashingLightsProcessorOptionKey, str
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
@min_os_level("14.0")
|
|
13
|
+
def testMethods14_0(self):
|
|
14
|
+
self.assertResultIsBOOL(
|
|
15
|
+
MediaAccessibility.MAFlashingLightsProcessorResult.surfaceProcessed
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
self.assertResultIsBOOL(
|
|
19
|
+
MediaAccessibility.MAFlashingLightsProcessor.canProcessSurface_
|
|
20
|
+
)
|