pyobjc-framework-Social 11.0__py3-none-any.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.
- Social/__init__.py +34 -0
- Social/_metadata.py +65 -0
- pyobjc_framework_Social-11.0.dist-info/LICENSE.txt +10 -0
- pyobjc_framework_Social-11.0.dist-info/METADATA +54 -0
- pyobjc_framework_Social-11.0.dist-info/RECORD +8 -0
- pyobjc_framework_Social-11.0.dist-info/WHEEL +6 -0
- pyobjc_framework_Social-11.0.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_Social-11.0.dist-info/top_level.txt +1 -0
Social/__init__.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the Social 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
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="Social",
|
|
18
|
+
frameworkIdentifier="com.apple.sociald.Social",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/Social.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["Social._metadata"]
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
globals().pop("_setup")()
|
Social/_metadata.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Tue Jun 11 10:20:25 2024
|
|
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 = """$SLServiceTypeFacebook$SLServiceTypeLinkedIn$SLServiceTypeSinaWeibo$SLServiceTypeTencentWeibo$SLServiceTypeTwitter$"""
|
|
34
|
+
enums = """$SLRequestMethodDELETE@2$SLRequestMethodGET@0$SLRequestMethodPOST@1$SLRequestMethodPUT@3$"""
|
|
35
|
+
misc.update({"SLRequestMethod": NewType("SLRequestMethod", int)})
|
|
36
|
+
misc.update({})
|
|
37
|
+
misc.update({})
|
|
38
|
+
r = objc.registerMetaDataForSelector
|
|
39
|
+
objc._updatingMetadata(True)
|
|
40
|
+
try:
|
|
41
|
+
r(b"SLComposeServiceViewController", b"isContentValid", {"retval": {"type": b"Z"}})
|
|
42
|
+
r(
|
|
43
|
+
b"SLRequest",
|
|
44
|
+
b"performRequestWithHandler:",
|
|
45
|
+
{
|
|
46
|
+
"arguments": {
|
|
47
|
+
2: {
|
|
48
|
+
"callable": {
|
|
49
|
+
"retval": {"type": b"v"},
|
|
50
|
+
"arguments": {
|
|
51
|
+
0: {"type": b"^v"},
|
|
52
|
+
1: {"type": b"@"},
|
|
53
|
+
2: {"type": b"@"},
|
|
54
|
+
3: {"type": b"@"},
|
|
55
|
+
},
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
)
|
|
61
|
+
finally:
|
|
62
|
+
objc._updatingMetadata(False)
|
|
63
|
+
expressions = {}
|
|
64
|
+
|
|
65
|
+
# END OF FILE
|
|
@@ -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-2024 - 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,54 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pyobjc-framework-Social
|
|
3
|
+
Version: 11.0
|
|
4
|
+
Summary: Wrappers for the framework Social 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,Social
|
|
10
|
+
Platform: MacOS X (>=10.8)
|
|
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.9
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Objective C
|
|
29
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
|
+
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
+
Requires-Python: >=3.9
|
|
32
|
+
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
+
License-File: LICENSE.txt
|
|
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
|
+
Requires-Dist: pyobjc-core >=11.0
|
|
38
|
+
Requires-Dist: pyobjc-framework-Cocoa >=11.0
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
Wrappers for the "Social" framework on macOS 10.8 or later.
|
|
42
|
+
|
|
43
|
+
Note that this framework is only available for 64-bit code.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
Project links
|
|
47
|
+
-------------
|
|
48
|
+
|
|
49
|
+
* `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
|
|
50
|
+
|
|
51
|
+
* `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
|
|
52
|
+
|
|
53
|
+
* `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
|
|
54
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Social/__init__.py,sha256=FSho8ERbcmEMm1_hxEUs1AsuBn6Pc4eLVOgQ_VloGMg,833
|
|
2
|
+
Social/_metadata.py,sha256=AD4znja6Im1ppnd2EN7dsK_rAflKE9fVLPPs_dQE9Wo,1503
|
|
3
|
+
pyobjc_framework_Social-11.0.dist-info/LICENSE.txt,sha256=VBYOCJp5HziM90a14Txl68gt3y2rIJpcoZAoVkfX4Ho,1249
|
|
4
|
+
pyobjc_framework_Social-11.0.dist-info/METADATA,sha256=3oxZONRYIMR0Kq4UmgGhBhGfuE1RSEmdZn1iQbuZtlA,2077
|
|
5
|
+
pyobjc_framework_Social-11.0.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
6
|
+
pyobjc_framework_Social-11.0.dist-info/pyobjc-build-info.txt,sha256=R5YEsJoyZ8GByMQk4k_4WWEg6V4RNO715NMQwx6YaNI,85
|
|
7
|
+
pyobjc_framework_Social-11.0.dist-info/top_level.txt,sha256=5p9kSH0qqAgq5R61p0BQPlhe2goaH8GcBRB9FNaLZ4I,7
|
|
8
|
+
pyobjc_framework_Social-11.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Social
|