pyobjc-framework-Symbols 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.
@@ -0,0 +1,34 @@
1
+ """
2
+ Python mapping for the Symbols 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 objc
13
+ import Foundation
14
+ from . import _metadata
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="Symbols",
18
+ frameworkIdentifier="com.apple.Symbols",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/Symbols.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(Foundation,),
25
+ metadict=_metadata.__dict__,
26
+ )
27
+
28
+ globals()["__dir__"] = dir_func
29
+ globals()["__getattr__"] = getattr_func
30
+
31
+ del sys.modules["Symbols._metadata"]
32
+
33
+
34
+ globals().pop("_setup")()
@@ -0,0 +1,40 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Sat Jul 1 13:59:05 2023
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 = """$$"""
35
+ misc.update({})
36
+ misc.update({})
37
+ misc.update({})
38
+ expressions = {}
39
+
40
+ # END OF FILE
@@ -0,0 +1,55 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyobjc-framework-Symbols
3
+ Version: 10.0
4
+ Summary: Wrappers for the framework Symbols 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 License
9
+ Keywords: PyObjC,Symbols
10
+ Platform: MacOS X (>=14.0)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.8
22
+ Classifier: Programming Language :: Python :: 3.9
23
+ Classifier: Programming Language :: Python :: 3.10
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Objective C
28
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
+ Classifier: Topic :: Software Development :: User Interfaces
30
+ Requires-Python: >=3.8
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
34
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
35
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
36
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
37
+
38
+
39
+ Wrappers for the "Symbols" framework on macOS.
40
+
41
+ These wrappers don't include documentation, please check Apple's documentation
42
+ for information on how to use this framework and PyObjC's documentation
43
+ for general tips and tricks regarding the translation between Python
44
+ and (Objective-)C frameworks
45
+
46
+
47
+ Project links
48
+ -------------
49
+
50
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
51
+
52
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
53
+
54
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
55
+
@@ -0,0 +1,19 @@
1
+ License.txt
2
+ MANIFEST.in
3
+ pyobjc_setup.py
4
+ pyproject.toml
5
+ setup.py
6
+ Lib/Symbols/__init__.py
7
+ Lib/Symbols/_metadata.py
8
+ Lib/pyobjc_framework_Symbols.egg-info/PKG-INFO
9
+ Lib/pyobjc_framework_Symbols.egg-info/SOURCES.txt
10
+ Lib/pyobjc_framework_Symbols.egg-info/dependency_links.txt
11
+ Lib/pyobjc_framework_Symbols.egg-info/not-zip-safe
12
+ Lib/pyobjc_framework_Symbols.egg-info/requires.txt
13
+ Lib/pyobjc_framework_Symbols.egg-info/top_level.txt
14
+ PyObjCTest/__init__.py
15
+ PyObjCTest/test_symbols.py
16
+ metadata/Symbols.fwinfo
17
+ metadata/metadata.ini
18
+ metadata/raw/arm64-14.0.fwinfo
19
+ metadata/raw/x86_64-14.0.fwinfo
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=10.0
2
+ pyobjc-framework-Cocoa>=10.0
@@ -0,0 +1,10 @@
1
+ (This is the MIT license, note that libffi-src is a separate product with its own license)
2
+
3
+ Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
+ Copyright 2003-2022 - Ronald Oussoren
5
+
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
+
8
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,14 @@
1
+ include *.txt MANIFEST.in *.py
2
+ graft Doc
3
+ graft Examples
4
+ graft Lib
5
+ graft Modules
6
+ graft source-deps
7
+ graft PyObjCTest
8
+ graft metadata
9
+ global-exclude .DS_Store
10
+ global-exclude *.pyc
11
+ global-exclude *.pyo
12
+ global-exclude *.so
13
+ prune Lib/*/*.dSYM
14
+ prune PyObjCTest/*.dSYM
@@ -0,0 +1,52 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyobjc-framework-Symbols
3
+ Version: 10.0
4
+ Summary: Wrappers for the framework Symbols 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 License
9
+ Keywords: PyObjC,Symbols
10
+ Platform: MacOS X (>=14.0)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.8
22
+ Classifier: Programming Language :: Python :: 3.9
23
+ Classifier: Programming Language :: Python :: 3.10
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Objective C
28
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
+ Classifier: Topic :: Software Development :: User Interfaces
30
+ Requires-Python: >=3.8
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
34
+
35
+
36
+ Wrappers for the "Symbols" framework on macOS.
37
+
38
+ These wrappers don't include documentation, please check Apple's documentation
39
+ for information on how to use this framework and PyObjC's documentation
40
+ for general tips and tricks regarding the translation between Python
41
+ and (Objective-)C frameworks
42
+
43
+
44
+ Project links
45
+ -------------
46
+
47
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
48
+
49
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
50
+
51
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
52
+
@@ -0,0 +1 @@
1
+ """ test suite """
@@ -0,0 +1,8 @@
1
+ from PyObjCTools.TestSupport import TestCase
2
+
3
+ import Symbols
4
+
5
+
6
+ class TestCallableMetadata(TestCase):
7
+ def test_callable_metadata_is_sane(self):
8
+ self.assertCallableMetadataIsSane(Symbols)
@@ -0,0 +1,10 @@
1
+ // objective.metadata exceptions file, see its document
2
+ // for information on how to update this file.
3
+ {
4
+ "definitions": {
5
+ "classes": {},
6
+ "formal_protocols": {},
7
+ "functions": {},
8
+ "informal_protocols": {}
9
+ }
10
+ }
@@ -0,0 +1,2 @@
1
+ [Symbols]
2
+ framework = Symbols