pyobjc-framework-SystemExtensions 12.0__cp314-cp314-macosx_10_15_universal2.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,43 @@
1
+ """
2
+ Python mapping for the SystemExtensions 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 Foundation
13
+ import objc
14
+ from . import _metadata, _SystemExtensions
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="SystemExtensions",
18
+ frameworkIdentifier="com.apple.SystemExtensions",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/SystemExtensions.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _SystemExtensions,
26
+ Foundation,
27
+ ),
28
+ metadict=_metadata.__dict__,
29
+ )
30
+
31
+ globals()["__dir__"] = dir_func
32
+ globals()["__getattr__"] = getattr_func
33
+
34
+ for cls, sel in (
35
+ ("OSSystemExtensionManager", b"init"),
36
+ ("OSSystemExtensionManager", b"new"),
37
+ ):
38
+ objc.registerUnavailableMethod(cls, sel)
39
+
40
+ del sys.modules["SystemExtensions._metadata"]
41
+
42
+
43
+ globals().pop("_setup")()
@@ -0,0 +1,123 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Fri Jul 25 11:55:09 2025
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 = """$NSSystemExtensionUsageDescriptionKey$OSBundleUsageDescriptionKey$OSRelatedKernelExtensionKey$OSSystemExtensionErrorDomain$"""
34
+ enums = """$OSSystemExtensionErrorAuthorizationRequired@13$OSSystemExtensionErrorCodeSignatureInvalid@8$OSSystemExtensionErrorDuplicateExtensionIdentifer@6$OSSystemExtensionErrorExtensionMissingIdentifier@5$OSSystemExtensionErrorExtensionNotFound@4$OSSystemExtensionErrorForbiddenBySystemPolicy@10$OSSystemExtensionErrorMissingEntitlement@2$OSSystemExtensionErrorRequestCanceled@11$OSSystemExtensionErrorRequestSuperseded@12$OSSystemExtensionErrorUnknown@1$OSSystemExtensionErrorUnknownExtensionCategory@7$OSSystemExtensionErrorUnsupportedParentBundleLocation@3$OSSystemExtensionErrorValidationFailed@9$OSSystemExtensionReplacementActionCancel@0$OSSystemExtensionReplacementActionReplace@1$OSSystemExtensionRequestCompleted@0$OSSystemExtensionRequestWillCompleteAfterReboot@1$"""
35
+ misc.update(
36
+ {
37
+ "OSSystemExtensionRequestResult": NewType(
38
+ "OSSystemExtensionRequestResult", int
39
+ ),
40
+ "OSSystemExtensionReplacementAction": NewType(
41
+ "OSSystemExtensionReplacementAction", int
42
+ ),
43
+ "OSSystemExtensionErrorCode": NewType("OSSystemExtensionErrorCode", int),
44
+ }
45
+ )
46
+ misc.update({})
47
+ misc.update({})
48
+ r = objc.registerMetaDataForSelector
49
+ objc._updatingMetadata(True)
50
+ try:
51
+ r(
52
+ b"NSObject",
53
+ b"request:actionForReplacingExtension:withExtension:",
54
+ {
55
+ "required": True,
56
+ "retval": {"type": b"q"},
57
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
58
+ },
59
+ )
60
+ r(
61
+ b"NSObject",
62
+ b"request:didFailWithError:",
63
+ {
64
+ "required": True,
65
+ "retval": {"type": b"v"},
66
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
67
+ },
68
+ )
69
+ r(
70
+ b"NSObject",
71
+ b"request:didFinishWithResult:",
72
+ {
73
+ "required": True,
74
+ "retval": {"type": b"v"},
75
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"q"}},
76
+ },
77
+ )
78
+ r(
79
+ b"NSObject",
80
+ b"request:foundProperties:",
81
+ {
82
+ "required": False,
83
+ "retval": {"type": b"v"},
84
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
85
+ },
86
+ )
87
+ r(
88
+ b"NSObject",
89
+ b"requestNeedsUserApproval:",
90
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
91
+ )
92
+ r(
93
+ b"NSObject",
94
+ b"systemExtensionWillBecomeDisabled:",
95
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
96
+ )
97
+ r(
98
+ b"NSObject",
99
+ b"systemExtensionWillBecomeEnabled:",
100
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
101
+ )
102
+ r(
103
+ b"NSObject",
104
+ b"systemExtensionWillBecomeInactive:",
105
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
106
+ )
107
+ r(
108
+ b"OSSystemExtensionProperties",
109
+ b"isAwaitingUserApproval",
110
+ {"retval": {"type": "Z"}},
111
+ )
112
+ r(b"OSSystemExtensionProperties", b"isEnabled", {"retval": {"type": "Z"}})
113
+ r(b"OSSystemExtensionProperties", b"isUninstalling", {"retval": {"type": "Z"}})
114
+ r(
115
+ b"OSSystemExtensionsWorkspace",
116
+ b"addObserver:error:",
117
+ {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
118
+ )
119
+ finally:
120
+ objc._updatingMetadata(False)
121
+ expressions = {}
122
+
123
+ # END OF FILE
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-SystemExtensions
3
+ Version: 12.0
4
+ Summary: Wrappers for the framework SystemExtensions 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
9
+ Keywords: PyObjC,SystemExtensions
10
+ Platform: MacOS X (>=10.15)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Natural Language :: English
16
+ Classifier: Operating System :: MacOS :: MacOS X
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
29
+ Classifier: Programming Language :: Objective C
30
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
31
+ Classifier: Topic :: Software Development :: User Interfaces
32
+ Requires-Python: >=3.9
33
+ Description-Content-Type: text/x-rst; charset=UTF-8
34
+ Requires-Dist: pyobjc-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
+ Dynamic: author
37
+ Dynamic: author-email
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: keywords
43
+ Dynamic: license
44
+ Dynamic: platform
45
+ Dynamic: requires-dist
46
+ Dynamic: requires-python
47
+ Dynamic: summary
48
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
49
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
50
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
51
+
52
+
53
+ Wrappers for the "SystemExtensions" framework on macOS.
54
+
55
+ These wrappers don't include documentation, please check Apple's documentation
56
+ for information on how to use this framework and PyObjC's documentation
57
+ for general tips and tricks regarding the translation between Python
58
+ and (Objective-)C frameworks
59
+
60
+
61
+ Project links
62
+ -------------
63
+
64
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
65
+
66
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
67
+
68
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
69
+
@@ -0,0 +1,8 @@
1
+ SystemExtensions/_SystemExtensions.cpython-314-darwin.so,sha256=JMqgTRqx38AbVAtWIWJAT-lOjTCPqKlJbFjDx-vNni8,85048
2
+ SystemExtensions/__init__.py,sha256=INoLNEdp5tGxpO5n7VxbcMVqgSBx6LoPSP8A8FPTXKU,1119
3
+ SystemExtensions/_metadata.py,sha256=MxKux2Mkun-fSNi5XX7102zNnM52-Lx5EjJ8MWX90l4,3907
4
+ pyobjc_framework_systemextensions-12.0.dist-info/METADATA,sha256=Viq1KzBrv4Q4Z3daF1sB_8szZmy4IGVTFd84u9I2ihI,2580
5
+ pyobjc_framework_systemextensions-12.0.dist-info/WHEEL,sha256=RUJYU8Uu6pIfKnlMpi3O3hTewcAU_Pb9njGie0PB81o,115
6
+ pyobjc_framework_systemextensions-12.0.dist-info/pyobjc-build-info.txt,sha256=DrbcGDJq0sVhQwFajghJ82j-HCBI07U1mQQig6N9ubs,85
7
+ pyobjc_framework_systemextensions-12.0.dist-info/top_level.txt,sha256=lPu6EU3x-divDJ3-wIdxucoW1YdWFO8GMjUJGfwbKGs,17
8
+ pyobjc_framework_systemextensions-12.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-macosx_10_15_universal2
5
+
@@ -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 @@
1
+ SystemExtensions