pyobjc-framework-OSLog 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.
Binary file
OSLog/__init__.py ADDED
@@ -0,0 +1,40 @@
1
+ """
2
+ Python mapping for the OSLog 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, _OSLog
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="OSLog",
18
+ frameworkIdentifier="com.apple.OSLog",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/OSLog.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _OSLog,
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 (("OSLogPosition", b"init"),):
35
+ objc.registerUnavailableMethod(cls, sel)
36
+
37
+ del sys.modules["OSLog._metadata"]
38
+
39
+
40
+ globals().pop("_setup")()
OSLog/_metadata.py ADDED
@@ -0,0 +1,90 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Thu Jul 24 22:14:03 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 = """$$"""
34
+ enums = """$OSLogEntryLogLevelDebug@1$OSLogEntryLogLevelError@4$OSLogEntryLogLevelFault@5$OSLogEntryLogLevelInfo@2$OSLogEntryLogLevelNotice@3$OSLogEntryLogLevelUndefined@0$OSLogEntrySignpostTypeEvent@3$OSLogEntrySignpostTypeIntervalBegin@1$OSLogEntrySignpostTypeIntervalEnd@2$OSLogEntrySignpostTypeUndefined@0$OSLogEntryStoreCategoryLongTerm1@4$OSLogEntryStoreCategoryLongTerm14@7$OSLogEntryStoreCategoryLongTerm3@5$OSLogEntryStoreCategoryLongTerm30@8$OSLogEntryStoreCategoryLongTerm7@6$OSLogEntryStoreCategoryLongTermAuto@3$OSLogEntryStoreCategoryMetadata@1$OSLogEntryStoreCategoryShortTerm@2$OSLogEntryStoreCategoryUndefined@0$OSLogEnumeratorReverse@1$OSLogMessageComponentArgumentCategoryData@1$OSLogMessageComponentArgumentCategoryDouble@2$OSLogMessageComponentArgumentCategoryInt64@3$OSLogMessageComponentArgumentCategoryString@4$OSLogMessageComponentArgumentCategoryUInt64@5$OSLogMessageComponentArgumentCategoryUndefined@0$OSLogStoreCurrentProcessIdentifier@1$OSLogStoreSystem@0$"""
35
+ misc.update(
36
+ {
37
+ "OSLogMessageComponentArgumentCategory": NewType(
38
+ "OSLogMessageComponentArgumentCategory", int
39
+ ),
40
+ "OSLogEnumeratorOptions": NewType("OSLogEnumeratorOptions", int),
41
+ "OSLogEntrySignpostType": NewType("OSLogEntrySignpostType", int),
42
+ "OSLogStoreScope": NewType("OSLogStoreScope", int),
43
+ "OSLogEntryStoreCategory": NewType("OSLogEntryStoreCategory", int),
44
+ "OSLogEntryLogLevel": NewType("OSLogEntryLogLevel", int),
45
+ }
46
+ )
47
+ misc.update({})
48
+ misc.update({})
49
+ r = objc.registerMetaDataForSelector
50
+ objc._updatingMetadata(True)
51
+ try:
52
+ r(b"NSObject", b"activityIdentifier", {"required": True, "retval": {"type": b"Q"}})
53
+ r(b"NSObject", b"category", {"required": True, "retval": {"type": b"@"}})
54
+ r(b"NSObject", b"components", {"required": True, "retval": {"type": b"@"}})
55
+ r(b"NSObject", b"formatString", {"required": True, "retval": {"type": b"@"}})
56
+ r(b"NSObject", b"process", {"required": True, "retval": {"type": b"@"}})
57
+ r(b"NSObject", b"processIdentifier", {"required": True, "retval": {"type": b"i"}})
58
+ r(b"NSObject", b"sender", {"required": True, "retval": {"type": b"@"}})
59
+ r(b"NSObject", b"subsystem", {"required": True, "retval": {"type": b"@"}})
60
+ r(b"NSObject", b"threadIdentifier", {"required": True, "retval": {"type": b"Q"}})
61
+ r(
62
+ b"OSLogStore",
63
+ b"entriesEnumeratorAndReturnError:",
64
+ {"arguments": {2: {"type_modifier": b"o"}}},
65
+ )
66
+ r(
67
+ b"OSLogStore",
68
+ b"entriesEnumeratorWithOptions:position:predicate:error:",
69
+ {"arguments": {5: {"type_modifier": b"o"}}},
70
+ )
71
+ r(
72
+ b"OSLogStore",
73
+ b"localStoreAndReturnError:",
74
+ {"arguments": {2: {"type_modifier": b"o"}}},
75
+ )
76
+ r(
77
+ b"OSLogStore",
78
+ b"storeWithScope:error:",
79
+ {"arguments": {3: {"type_modifier": b"o"}}},
80
+ )
81
+ r(
82
+ b"OSLogStore",
83
+ b"storeWithURL:error:",
84
+ {"arguments": {3: {"type_modifier": b"o"}}},
85
+ )
86
+ finally:
87
+ objc._updatingMetadata(False)
88
+ expressions = {}
89
+
90
+ # END OF FILE
@@ -0,0 +1,71 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-OSLog
3
+ Version: 12.0
4
+ Summary: Wrappers for the framework OSLog 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,OSLog
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-CoreMedia>=12.0
36
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
37
+ Requires-Dist: pyobjc-framework-Quartz>=12.0
38
+ Dynamic: author
39
+ Dynamic: author-email
40
+ Dynamic: classifier
41
+ Dynamic: description
42
+ Dynamic: description-content-type
43
+ Dynamic: home-page
44
+ Dynamic: keywords
45
+ Dynamic: license
46
+ Dynamic: platform
47
+ Dynamic: requires-dist
48
+ Dynamic: requires-python
49
+ Dynamic: summary
50
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
51
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
52
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
53
+
54
+
55
+ Wrappers for the "OSLog" framework on macOS.
56
+
57
+ These wrappers don't include documentation, please check Apple's documentation
58
+ for information on how to use this framework and PyObjC's documentation
59
+ for general tips and tricks regarding the translation between Python
60
+ and (Objective-)C frameworks
61
+
62
+
63
+ Project links
64
+ -------------
65
+
66
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
67
+
68
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
69
+
70
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
71
+
@@ -0,0 +1,8 @@
1
+ OSLog/_OSLog.cpython-314-darwin.so,sha256=PpZX6kpc_OXzSLGroGJda2_jDEZIzcSYIWfu1T8WVA8,84352
2
+ OSLog/__init__.py,sha256=xhsKqyXpDQ4ua85WjssZeCTG6nlbIIWM0LEe-IbTeSo,971
3
+ OSLog/_metadata.py,sha256=z6C10ujcVngoHRi_k6Wj8jHRhrhjx3GXRh4S0OtyEn8,3483
4
+ pyobjc_framework_oslog-12.0.dist-info/METADATA,sha256=NA7-f7Hr4iIOG1VuNDiAqgk4O654pR58x_99nOC4kms,2629
5
+ pyobjc_framework_oslog-12.0.dist-info/WHEEL,sha256=RUJYU8Uu6pIfKnlMpi3O3hTewcAU_Pb9njGie0PB81o,115
6
+ pyobjc_framework_oslog-12.0.dist-info/pyobjc-build-info.txt,sha256=DrbcGDJq0sVhQwFajghJ82j-HCBI07U1mQQig6N9ubs,85
7
+ pyobjc_framework_oslog-12.0.dist-info/top_level.txt,sha256=suGr-k3JNTOBjhpZrvQq0jnIr9Xgw6dZ5xnvN7HXkj8,6
8
+ pyobjc_framework_oslog-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
+ OSLog