pyobjc-framework-Contacts 12.2__cp315-cp315-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.
Potentially problematic release.
This version of pyobjc-framework-Contacts might be problematic. Click here for more details.
- Contacts/_Contacts.cpython-315-darwin.so +0 -0
- Contacts/__init__.py +50 -0
- Contacts/_metadata.py +266 -0
- pyobjc_framework_contacts-12.2.dist-info/METADATA +68 -0
- pyobjc_framework_contacts-12.2.dist-info/RECORD +8 -0
- pyobjc_framework_contacts-12.2.dist-info/WHEEL +5 -0
- pyobjc_framework_contacts-12.2.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_contacts-12.2.dist-info/top_level.txt +1 -0
|
Binary file
|
Contacts/__init__.py
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the Contacts 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, _Contacts
|
|
15
|
+
|
|
16
|
+
if objc.macos_available(10, 13):
|
|
17
|
+
identifier = "com.apple.contacts"
|
|
18
|
+
else:
|
|
19
|
+
identifier = "com.apple.contacts.Contacts"
|
|
20
|
+
|
|
21
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
22
|
+
name="Contacts",
|
|
23
|
+
frameworkIdentifier=identifier,
|
|
24
|
+
frameworkPath=objc.pathForFramework(
|
|
25
|
+
"/System/Library/Frameworks/Contacts.framework"
|
|
26
|
+
),
|
|
27
|
+
globals_dict=globals(),
|
|
28
|
+
inline_list=None,
|
|
29
|
+
parents=(
|
|
30
|
+
_Contacts,
|
|
31
|
+
Foundation,
|
|
32
|
+
),
|
|
33
|
+
metadict=_metadata.__dict__,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
globals()["__dir__"] = dir_func
|
|
37
|
+
globals()["__getattr__"] = getattr_func
|
|
38
|
+
|
|
39
|
+
for cls, sel in (
|
|
40
|
+
("CNFetchResult", b"init"),
|
|
41
|
+
("CNFetchResult", b"new"),
|
|
42
|
+
("CNContactFetchRequest", b"init"),
|
|
43
|
+
("CNContactFetchRequest", b"new"),
|
|
44
|
+
):
|
|
45
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
46
|
+
|
|
47
|
+
del sys.modules["Contacts._metadata"]
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
globals().pop("_setup")()
|
Contacts/_metadata.py
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Thu May 28 21:10:29 2026
|
|
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 = """$CNContactBirthdayKey$CNContactDatesKey$CNContactDepartmentNameKey$CNContactEmailAddressesKey$CNContactFamilyNameKey$CNContactGivenNameKey$CNContactIdentifierKey$CNContactImageDataAvailableKey$CNContactImageDataKey$CNContactInstantMessageAddressesKey$CNContactJobTitleKey$CNContactMiddleNameKey$CNContactNamePrefixKey$CNContactNameSuffixKey$CNContactNicknameKey$CNContactNonGregorianBirthdayKey$CNContactNoteKey$CNContactOrganizationNameKey$CNContactPhoneNumbersKey$CNContactPhoneticFamilyNameKey$CNContactPhoneticGivenNameKey$CNContactPhoneticMiddleNameKey$CNContactPhoneticOrganizationNameKey$CNContactPostalAddressesKey$CNContactPreviousFamilyNameKey$CNContactPropertyAttribute$CNContactPropertyNotFetchedExceptionName$CNContactRelationsKey$CNContactSocialProfilesKey$CNContactStoreDidChangeNotification$CNContactThumbnailImageDataKey$CNContactTypeKey$CNContactUrlAddressesKey$CNContainerIdentifierKey$CNContainerNameKey$CNContainerTypeKey$CNErrorDomain$CNErrorUserInfoAffectedRecordIdentifiersKey$CNErrorUserInfoAffectedRecordsKey$CNErrorUserInfoKeyPathsKey$CNErrorUserInfoValidationErrorsKey$CNGroupIdentifierKey$CNGroupNameKey$CNInstantMessageAddressServiceKey$CNInstantMessageAddressUsernameKey$CNInstantMessageServiceAIM$CNInstantMessageServiceFacebook$CNInstantMessageServiceGaduGadu$CNInstantMessageServiceGoogleTalk$CNInstantMessageServiceICQ$CNInstantMessageServiceJabber$CNInstantMessageServiceMSN$CNInstantMessageServiceQQ$CNInstantMessageServiceSkype$CNInstantMessageServiceYahoo$CNLabelContactRelationAssistant$CNLabelContactRelationAunt$CNLabelContactRelationAuntFathersBrothersWife$CNLabelContactRelationAuntFathersElderBrothersWife$CNLabelContactRelationAuntFathersElderSister$CNLabelContactRelationAuntFathersSister$CNLabelContactRelationAuntFathersYoungerBrothersWife$CNLabelContactRelationAuntFathersYoungerSister$CNLabelContactRelationAuntMothersBrothersWife$CNLabelContactRelationAuntMothersElderSister$CNLabelContactRelationAuntMothersSister$CNLabelContactRelationAuntMothersYoungerSister$CNLabelContactRelationAuntParentsElderSister$CNLabelContactRelationAuntParentsSister$CNLabelContactRelationAuntParentsYoungerSister$CNLabelContactRelationBoyfriend$CNLabelContactRelationBrother$CNLabelContactRelationBrotherInLaw$CNLabelContactRelationBrotherInLawElderSistersHusband$CNLabelContactRelationBrotherInLawHusbandsBrother$CNLabelContactRelationBrotherInLawHusbandsSistersHusband$CNLabelContactRelationBrotherInLawSistersHusband$CNLabelContactRelationBrotherInLawSpousesBrother$CNLabelContactRelationBrotherInLawWifesBrother$CNLabelContactRelationBrotherInLawWifesSistersHusband$CNLabelContactRelationBrotherInLawYoungerSistersHusband$CNLabelContactRelationChild$CNLabelContactRelationChildInLaw$CNLabelContactRelationCoBrotherInLaw$CNLabelContactRelationCoFatherInLaw$CNLabelContactRelationCoMotherInLaw$CNLabelContactRelationCoParentInLaw$CNLabelContactRelationCoSiblingInLaw$CNLabelContactRelationCoSisterInLaw$CNLabelContactRelationColleague$CNLabelContactRelationCousin$CNLabelContactRelationCousinFathersBrothersDaughter$CNLabelContactRelationCousinFathersBrothersSon$CNLabelContactRelationCousinFathersSistersDaughter$CNLabelContactRelationCousinFathersSistersSon$CNLabelContactRelationCousinGrandparentsSiblingsChild$CNLabelContactRelationCousinGrandparentsSiblingsDaughter$CNLabelContactRelationCousinGrandparentsSiblingsSon$CNLabelContactRelationCousinMothersBrothersDaughter$CNLabelContactRelationCousinMothersBrothersSon$CNLabelContactRelationCousinMothersSistersDaughter$CNLabelContactRelationCousinMothersSistersSon$CNLabelContactRelationCousinOrSiblingsChild$CNLabelContactRelationCousinParentsSiblingsChild$CNLabelContactRelationCousinParentsSiblingsDaughter$CNLabelContactRelationCousinParentsSiblingsSon$CNLabelContactRelationDaughter$CNLabelContactRelationDaughterInLaw$CNLabelContactRelationDaughterInLawOrSisterInLaw$CNLabelContactRelationDaughterInLawOrStepdaughter$CNLabelContactRelationElderBrother$CNLabelContactRelationElderBrotherInLaw$CNLabelContactRelationElderCousin$CNLabelContactRelationElderCousinFathersBrothersDaughter$CNLabelContactRelationElderCousinFathersBrothersSon$CNLabelContactRelationElderCousinFathersSistersDaughter$CNLabelContactRelationElderCousinFathersSistersSon$CNLabelContactRelationElderCousinMothersBrothersDaughter$CNLabelContactRelationElderCousinMothersBrothersSon$CNLabelContactRelationElderCousinMothersSiblingsDaughterOrFathersSistersDaughter$CNLabelContactRelationElderCousinMothersSiblingsSonOrFathersSistersSon$CNLabelContactRelationElderCousinMothersSistersDaughter$CNLabelContactRelationElderCousinMothersSistersSon$CNLabelContactRelationElderCousinParentsSiblingsDaughter$CNLabelContactRelationElderCousinParentsSiblingsSon$CNLabelContactRelationElderSibling$CNLabelContactRelationElderSiblingInLaw$CNLabelContactRelationElderSister$CNLabelContactRelationElderSisterInLaw$CNLabelContactRelationEldestBrother$CNLabelContactRelationEldestSister$CNLabelContactRelationFather$CNLabelContactRelationFatherInLaw$CNLabelContactRelationFatherInLawHusbandsFather$CNLabelContactRelationFatherInLawOrStepfather$CNLabelContactRelationFatherInLawWifesFather$CNLabelContactRelationFemaleCousin$CNLabelContactRelationFemaleFriend$CNLabelContactRelationFemalePartner$CNLabelContactRelationFriend$CNLabelContactRelationGirlfriend$CNLabelContactRelationGirlfriendOrBoyfriend$CNLabelContactRelationGrandaunt$CNLabelContactRelationGrandchild$CNLabelContactRelationGrandchildOrSiblingsChild$CNLabelContactRelationGranddaughter$CNLabelContactRelationGranddaughterDaughtersDaughter$CNLabelContactRelationGranddaughterOrNiece$CNLabelContactRelationGranddaughterSonsDaughter$CNLabelContactRelationGrandfather$CNLabelContactRelationGrandfatherFathersFather$CNLabelContactRelationGrandfatherMothersFather$CNLabelContactRelationGrandmother$CNLabelContactRelationGrandmotherFathersMother$CNLabelContactRelationGrandmotherMothersMother$CNLabelContactRelationGrandnephew$CNLabelContactRelationGrandnephewBrothersGrandson$CNLabelContactRelationGrandnephewSistersGrandson$CNLabelContactRelationGrandniece$CNLabelContactRelationGrandnieceBrothersGranddaughter$CNLabelContactRelationGrandnieceSistersGranddaughter$CNLabelContactRelationGrandparent$CNLabelContactRelationGrandson$CNLabelContactRelationGrandsonDaughtersSon$CNLabelContactRelationGrandsonOrNephew$CNLabelContactRelationGrandsonSonsSon$CNLabelContactRelationGranduncle$CNLabelContactRelationGreatGrandchild$CNLabelContactRelationGreatGrandchildOrSiblingsGrandchild$CNLabelContactRelationGreatGranddaughter$CNLabelContactRelationGreatGrandfather$CNLabelContactRelationGreatGrandmother$CNLabelContactRelationGreatGrandparent$CNLabelContactRelationGreatGrandson$CNLabelContactRelationHusband$CNLabelContactRelationMaleCousin$CNLabelContactRelationMaleFriend$CNLabelContactRelationMalePartner$CNLabelContactRelationManager$CNLabelContactRelationMother$CNLabelContactRelationMotherInLaw$CNLabelContactRelationMotherInLawHusbandsMother$CNLabelContactRelationMotherInLawOrStepmother$CNLabelContactRelationMotherInLawWifesMother$CNLabelContactRelationNephew$CNLabelContactRelationNephewBrothersSon$CNLabelContactRelationNephewBrothersSonOrHusbandsSiblingsSon$CNLabelContactRelationNephewOrCousin$CNLabelContactRelationNephewSistersSon$CNLabelContactRelationNephewSistersSonOrWifesSiblingsSon$CNLabelContactRelationNiece$CNLabelContactRelationNieceBrothersDaughter$CNLabelContactRelationNieceBrothersDaughterOrHusbandsSiblingsDaughter$CNLabelContactRelationNieceOrCousin$CNLabelContactRelationNieceSistersDaughter$CNLabelContactRelationNieceSistersDaughterOrWifesSiblingsDaughter$CNLabelContactRelationParent$CNLabelContactRelationParentInLaw$CNLabelContactRelationParentsElderSibling$CNLabelContactRelationParentsSibling$CNLabelContactRelationParentsSiblingFathersElderSibling$CNLabelContactRelationParentsSiblingFathersSibling$CNLabelContactRelationParentsSiblingFathersYoungerSibling$CNLabelContactRelationParentsSiblingMothersElderSibling$CNLabelContactRelationParentsSiblingMothersSibling$CNLabelContactRelationParentsSiblingMothersYoungerSibling$CNLabelContactRelationParentsYoungerSibling$CNLabelContactRelationPartner$CNLabelContactRelationSibling$CNLabelContactRelationSiblingInLaw$CNLabelContactRelationSiblingsChild$CNLabelContactRelationSister$CNLabelContactRelationSisterInLaw$CNLabelContactRelationSisterInLawBrothersWife$CNLabelContactRelationSisterInLawElderBrothersWife$CNLabelContactRelationSisterInLawHusbandsBrothersWife$CNLabelContactRelationSisterInLawHusbandsSister$CNLabelContactRelationSisterInLawSpousesSister$CNLabelContactRelationSisterInLawWifesBrothersWife$CNLabelContactRelationSisterInLawWifesSister$CNLabelContactRelationSisterInLawYoungerBrothersWife$CNLabelContactRelationSon$CNLabelContactRelationSonInLaw$CNLabelContactRelationSonInLawOrBrotherInLaw$CNLabelContactRelationSonInLawOrStepson$CNLabelContactRelationSpouse$CNLabelContactRelationStepbrother$CNLabelContactRelationStepchild$CNLabelContactRelationStepdaughter$CNLabelContactRelationStepfather$CNLabelContactRelationStepmother$CNLabelContactRelationStepparent$CNLabelContactRelationStepsister$CNLabelContactRelationStepson$CNLabelContactRelationTeacher$CNLabelContactRelationUncle$CNLabelContactRelationUncleFathersBrother$CNLabelContactRelationUncleFathersElderBrother$CNLabelContactRelationUncleFathersElderSistersHusband$CNLabelContactRelationUncleFathersSistersHusband$CNLabelContactRelationUncleFathersYoungerBrother$CNLabelContactRelationUncleFathersYoungerSistersHusband$CNLabelContactRelationUncleMothersBrother$CNLabelContactRelationUncleMothersElderBrother$CNLabelContactRelationUncleMothersSistersHusband$CNLabelContactRelationUncleMothersYoungerBrother$CNLabelContactRelationUncleParentsBrother$CNLabelContactRelationUncleParentsElderBrother$CNLabelContactRelationUncleParentsYoungerBrother$CNLabelContactRelationWife$CNLabelContactRelationYoungerBrother$CNLabelContactRelationYoungerBrotherInLaw$CNLabelContactRelationYoungerCousin$CNLabelContactRelationYoungerCousinFathersBrothersDaughter$CNLabelContactRelationYoungerCousinFathersBrothersSon$CNLabelContactRelationYoungerCousinFathersSistersDaughter$CNLabelContactRelationYoungerCousinFathersSistersSon$CNLabelContactRelationYoungerCousinMothersBrothersDaughter$CNLabelContactRelationYoungerCousinMothersBrothersSon$CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter$CNLabelContactRelationYoungerCousinMothersSiblingsSonOrFathersSistersSon$CNLabelContactRelationYoungerCousinMothersSistersDaughter$CNLabelContactRelationYoungerCousinMothersSistersSon$CNLabelContactRelationYoungerCousinParentsSiblingsDaughter$CNLabelContactRelationYoungerCousinParentsSiblingsSon$CNLabelContactRelationYoungerSibling$CNLabelContactRelationYoungerSiblingInLaw$CNLabelContactRelationYoungerSister$CNLabelContactRelationYoungerSisterInLaw$CNLabelContactRelationYoungestBrother$CNLabelContactRelationYoungestSister$CNLabelDateAnniversary$CNLabelEmailiCloud$CNLabelHome$CNLabelOther$CNLabelPhoneNumberAppleWatch$CNLabelPhoneNumberHomeFax$CNLabelPhoneNumberMain$CNLabelPhoneNumberMobile$CNLabelPhoneNumberOtherFax$CNLabelPhoneNumberPager$CNLabelPhoneNumberWorkFax$CNLabelPhoneNumberiPhone$CNLabelSchool$CNLabelURLAddressHomePage$CNLabelWork$CNPostalAddressCityKey$CNPostalAddressCountryKey$CNPostalAddressISOCountryCodeKey$CNPostalAddressLocalizedPropertyNameAttribute$CNPostalAddressPostalCodeKey$CNPostalAddressPropertyAttribute$CNPostalAddressStateKey$CNPostalAddressStreetKey$CNPostalAddressSubAdministrativeAreaKey$CNPostalAddressSubLocalityKey$CNSocialProfileServiceFacebook$CNSocialProfileServiceFlickr$CNSocialProfileServiceGameCenter$CNSocialProfileServiceKey$CNSocialProfileServiceLinkedIn$CNSocialProfileServiceMySpace$CNSocialProfileServiceSinaWeibo$CNSocialProfileServiceTencentWeibo$CNSocialProfileServiceTwitter$CNSocialProfileServiceYelp$CNSocialProfileURLStringKey$CNSocialProfileUserIdentifierKey$CNSocialProfileUsernameKey$"""
|
|
34
|
+
enums = """$CNAuthorizationStatusAuthorized@3$CNAuthorizationStatusDenied@2$CNAuthorizationStatusLimited@4$CNAuthorizationStatusNotDetermined@0$CNAuthorizationStatusRestricted@1$CNContactDisplayNameOrderFamilyNameFirst@2$CNContactDisplayNameOrderGivenNameFirst@1$CNContactDisplayNameOrderUserDefault@0$CNContactFormatterStyleFullName@0$CNContactFormatterStylePhoneticFullName@1$CNContactSortOrderFamilyName@3$CNContactSortOrderGivenName@2$CNContactSortOrderNone@0$CNContactSortOrderUserDefault@1$CNContactTypeOrganization@1$CNContactTypePerson@0$CNContainerTypeCardDAV@3$CNContainerTypeExchange@2$CNContainerTypeLocal@1$CNContainerTypeUnassigned@0$CNEntityTypeContacts@0$CNErrorCodeAuthorizationDenied@100$CNErrorCodeChangeHistoryExpired@603$CNErrorCodeChangeHistoryInvalidAnchor@604$CNErrorCodeChangeHistoryInvalidFetchRequest@605$CNErrorCodeClientIdentifierCollision@602$CNErrorCodeClientIdentifierDoesNotExist@601$CNErrorCodeClientIdentifierInvalid@600$CNErrorCodeCommunicationError@1$CNErrorCodeContainmentCycle@202$CNErrorCodeContainmentScope@203$CNErrorCodeDataAccessError@2$CNErrorCodeFeatureDisabledByUser@103$CNErrorCodeFeatureNotAvailable@104$CNErrorCodeInsertedRecordAlreadyExists@201$CNErrorCodeNoAccessableWritableContainers@101$CNErrorCodeParentContainerNotWritable@207$CNErrorCodeParentRecordDoesNotExist@204$CNErrorCodePolicyViolation@500$CNErrorCodePredicateInvalid@400$CNErrorCodeRecordDoesNotExist@200$CNErrorCodeRecordIdentifierInvalid@205$CNErrorCodeRecordNotWritable@206$CNErrorCodeUnauthorizedKeys@102$CNErrorCodeVCardMalformed@700$CNErrorCodeVCardSummarizationError@701$CNErrorCodeValidationConfigurationError@302$CNErrorCodeValidationMultipleErrors@300$CNErrorCodeValidationTypeMismatch@301$CNPostalAddressFormatterStyleMailingAddress@0$"""
|
|
35
|
+
misc.update(
|
|
36
|
+
{
|
|
37
|
+
"CNEntityType": NewType("CNEntityType", int),
|
|
38
|
+
"CNContactType": NewType("CNContactType", int),
|
|
39
|
+
"CNContactDisplayNameOrder": NewType("CNContactDisplayNameOrder", int),
|
|
40
|
+
"CNErrorCode": NewType("CNErrorCode", int),
|
|
41
|
+
"CNAuthorizationStatus": NewType("CNAuthorizationStatus", int),
|
|
42
|
+
"CNContactFormatterStyle": NewType("CNContactFormatterStyle", int),
|
|
43
|
+
"CNContactSortOrder": NewType("CNContactSortOrder", int),
|
|
44
|
+
"CNPostalAddressFormatterStyle": NewType("CNPostalAddressFormatterStyle", int),
|
|
45
|
+
"CNContainerType": NewType("CNContainerType", int),
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
misc.update({})
|
|
49
|
+
misc.update({})
|
|
50
|
+
r = objc.registerMetaDataForSelector
|
|
51
|
+
objc._updatingMetadata(True)
|
|
52
|
+
try:
|
|
53
|
+
r(
|
|
54
|
+
b"CNChangeHistoryFetchRequest",
|
|
55
|
+
b"includeGroupChanges",
|
|
56
|
+
{"retval": {"type": b"Z"}},
|
|
57
|
+
)
|
|
58
|
+
r(b"CNChangeHistoryFetchRequest", b"mutableObjects", {"retval": {"type": b"Z"}})
|
|
59
|
+
r(
|
|
60
|
+
b"CNChangeHistoryFetchRequest",
|
|
61
|
+
b"setIncludeGroupChanges:",
|
|
62
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
63
|
+
)
|
|
64
|
+
r(
|
|
65
|
+
b"CNChangeHistoryFetchRequest",
|
|
66
|
+
b"setMutableObjects:",
|
|
67
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
68
|
+
)
|
|
69
|
+
r(
|
|
70
|
+
b"CNChangeHistoryFetchRequest",
|
|
71
|
+
b"setShouldUnifyResults:",
|
|
72
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
73
|
+
)
|
|
74
|
+
r(b"CNChangeHistoryFetchRequest", b"shouldUnifyResults", {"retval": {"type": b"Z"}})
|
|
75
|
+
r(b"CNContact", b"areKeysAvailable:", {"retval": {"type": "Z"}})
|
|
76
|
+
r(
|
|
77
|
+
b"CNContact",
|
|
78
|
+
b"comparatorForNameSortOrder:",
|
|
79
|
+
{
|
|
80
|
+
"retval": {
|
|
81
|
+
"callable": {
|
|
82
|
+
"retval": {"type": b"v"},
|
|
83
|
+
"arguments": {0: {"type": b"^v"}},
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
)
|
|
88
|
+
r(b"CNContact", b"imageDataAvailable", {"retval": {"type": b"Z"}})
|
|
89
|
+
r(b"CNContact", b"isKeyAvailable:", {"retval": {"type": "Z"}})
|
|
90
|
+
r(b"CNContact", b"isUnifiedWithContactWithIdentifier:", {"retval": {"type": "Z"}})
|
|
91
|
+
r(b"CNContactFetchRequest", b"mutableObjects", {"retval": {"type": "Z"}})
|
|
92
|
+
r(
|
|
93
|
+
b"CNContactFetchRequest",
|
|
94
|
+
b"setMutableObjects:",
|
|
95
|
+
{"arguments": {2: {"type": "Z"}}},
|
|
96
|
+
)
|
|
97
|
+
r(b"CNContactFetchRequest", b"setUnifyResults:", {"arguments": {2: {"type": "Z"}}})
|
|
98
|
+
r(b"CNContactFetchRequest", b"unifyResults", {"retval": {"type": "Z"}})
|
|
99
|
+
r(
|
|
100
|
+
b"CNContactStore",
|
|
101
|
+
b"containersMatchingPredicate:error:",
|
|
102
|
+
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
103
|
+
)
|
|
104
|
+
r(
|
|
105
|
+
b"CNContactStore",
|
|
106
|
+
b"enumerateContactsWithFetchRequest:error:usingBlock:",
|
|
107
|
+
{
|
|
108
|
+
"retval": {"type": "Z"},
|
|
109
|
+
"arguments": {
|
|
110
|
+
3: {"type_modifier": b"o"},
|
|
111
|
+
4: {
|
|
112
|
+
"callable": {
|
|
113
|
+
"retval": {"type": b"v"},
|
|
114
|
+
"arguments": {
|
|
115
|
+
0: {"type": b"^v"},
|
|
116
|
+
1: {"type": b"@"},
|
|
117
|
+
2: {"type": b"o^Z"},
|
|
118
|
+
},
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
)
|
|
124
|
+
r(
|
|
125
|
+
b"CNContactStore",
|
|
126
|
+
b"enumeratorForChangeHistoryFetchRequest:error:",
|
|
127
|
+
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
128
|
+
)
|
|
129
|
+
r(
|
|
130
|
+
b"CNContactStore",
|
|
131
|
+
b"enumeratorForContactFetchRequest:error:",
|
|
132
|
+
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
133
|
+
)
|
|
134
|
+
r(
|
|
135
|
+
b"CNContactStore",
|
|
136
|
+
b"executeSaveRequest:error:",
|
|
137
|
+
{"retval": {"type": "Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
138
|
+
)
|
|
139
|
+
r(
|
|
140
|
+
b"CNContactStore",
|
|
141
|
+
b"groupsMatchingPredicate:error:",
|
|
142
|
+
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
143
|
+
)
|
|
144
|
+
r(
|
|
145
|
+
b"CNContactStore",
|
|
146
|
+
b"requestAccessForEntityType:completionHandler:",
|
|
147
|
+
{
|
|
148
|
+
"arguments": {
|
|
149
|
+
3: {
|
|
150
|
+
"callable": {
|
|
151
|
+
"retval": {"type": b"v"},
|
|
152
|
+
"arguments": {
|
|
153
|
+
0: {"type": b"^v"},
|
|
154
|
+
1: {"type": b"Z"},
|
|
155
|
+
2: {"type": b"@"},
|
|
156
|
+
},
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
)
|
|
162
|
+
r(
|
|
163
|
+
b"CNContactStore",
|
|
164
|
+
b"unifiedContactWithIdentifier:keysToFetch:error:",
|
|
165
|
+
{"arguments": {4: {"type_modifier": b"o"}}},
|
|
166
|
+
)
|
|
167
|
+
r(
|
|
168
|
+
b"CNContactStore",
|
|
169
|
+
b"unifiedContactsMatchingPredicate:keysToFetch:error:",
|
|
170
|
+
{"arguments": {4: {"type_modifier": b"o"}}},
|
|
171
|
+
)
|
|
172
|
+
r(
|
|
173
|
+
b"CNContactStore",
|
|
174
|
+
b"unifiedMeContactWithKeysToFetch:error:",
|
|
175
|
+
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
176
|
+
)
|
|
177
|
+
r(
|
|
178
|
+
b"CNContactVCardSerialization",
|
|
179
|
+
b"contactsWithData:error:",
|
|
180
|
+
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
181
|
+
)
|
|
182
|
+
r(
|
|
183
|
+
b"CNContactVCardSerialization",
|
|
184
|
+
b"dataWithContacts:error:",
|
|
185
|
+
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
186
|
+
)
|
|
187
|
+
r(
|
|
188
|
+
b"CNSaveRequest",
|
|
189
|
+
b"setShouldRefetchContacts:",
|
|
190
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
191
|
+
)
|
|
192
|
+
r(b"CNSaveRequest", b"shouldRefetchContacts", {"retval": {"type": b"Z"}})
|
|
193
|
+
r(
|
|
194
|
+
b"NSObject",
|
|
195
|
+
b"visitAddContactEvent:",
|
|
196
|
+
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
197
|
+
)
|
|
198
|
+
r(
|
|
199
|
+
b"NSObject",
|
|
200
|
+
b"visitAddGroupEvent:",
|
|
201
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
202
|
+
)
|
|
203
|
+
r(
|
|
204
|
+
b"NSObject",
|
|
205
|
+
b"visitAddMemberToGroupEvent:",
|
|
206
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
207
|
+
)
|
|
208
|
+
r(
|
|
209
|
+
b"NSObject",
|
|
210
|
+
b"visitAddSubgroupToGroupEvent:",
|
|
211
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
212
|
+
)
|
|
213
|
+
r(
|
|
214
|
+
b"NSObject",
|
|
215
|
+
b"visitDeleteContactEvent:",
|
|
216
|
+
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
217
|
+
)
|
|
218
|
+
r(
|
|
219
|
+
b"NSObject",
|
|
220
|
+
b"visitDeleteGroupEvent:",
|
|
221
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
222
|
+
)
|
|
223
|
+
r(
|
|
224
|
+
b"NSObject",
|
|
225
|
+
b"visitDropEverythingEvent:",
|
|
226
|
+
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
227
|
+
)
|
|
228
|
+
r(
|
|
229
|
+
b"NSObject",
|
|
230
|
+
b"visitRemoveMemberFromGroupEvent:",
|
|
231
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
232
|
+
)
|
|
233
|
+
r(
|
|
234
|
+
b"NSObject",
|
|
235
|
+
b"visitRemoveSubgroupFromGroupEvent:",
|
|
236
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
237
|
+
)
|
|
238
|
+
r(
|
|
239
|
+
b"NSObject",
|
|
240
|
+
b"visitUpdateContactEvent:",
|
|
241
|
+
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
242
|
+
)
|
|
243
|
+
r(
|
|
244
|
+
b"NSObject",
|
|
245
|
+
b"visitUpdateGroupEvent:",
|
|
246
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
247
|
+
)
|
|
248
|
+
finally:
|
|
249
|
+
objc._updatingMetadata(False)
|
|
250
|
+
|
|
251
|
+
objc.registerNewKeywordsFromSelector("CNContactFetchRequest", b"init")
|
|
252
|
+
objc.registerNewKeywordsFromSelector("CNContactFetchRequest", b"initWithKeysToFetch:")
|
|
253
|
+
objc.registerNewKeywordsFromSelector("CNContactRelation", b"initWithName:")
|
|
254
|
+
objc.registerNewKeywordsFromSelector("CNFetchResult", b"init")
|
|
255
|
+
objc.registerNewKeywordsFromSelector(
|
|
256
|
+
"CNInstantMessageAddress", b"initWithUsername:service:"
|
|
257
|
+
)
|
|
258
|
+
objc.registerNewKeywordsFromSelector("CNLabeledValue", b"initWithLabel:value:")
|
|
259
|
+
objc.registerNewKeywordsFromSelector("CNPhoneNumber", b"init")
|
|
260
|
+
objc.registerNewKeywordsFromSelector("CNPhoneNumber", b"initWithStringValue:")
|
|
261
|
+
objc.registerNewKeywordsFromSelector(
|
|
262
|
+
"CNSocialProfile", b"initWithUrlString:username:userIdentifier:service:"
|
|
263
|
+
)
|
|
264
|
+
expressions = {}
|
|
265
|
+
|
|
266
|
+
# END OF FILE
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyobjc-framework-Contacts
|
|
3
|
+
Version: 12.2
|
|
4
|
+
Summary: Wrappers for the framework Contacts 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,Contacts
|
|
10
|
+
Platform: MacOS X (>=10.11)
|
|
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.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
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.10
|
|
32
|
+
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
35
|
+
Dynamic: author
|
|
36
|
+
Dynamic: author-email
|
|
37
|
+
Dynamic: classifier
|
|
38
|
+
Dynamic: description
|
|
39
|
+
Dynamic: description-content-type
|
|
40
|
+
Dynamic: home-page
|
|
41
|
+
Dynamic: keywords
|
|
42
|
+
Dynamic: license
|
|
43
|
+
Dynamic: platform
|
|
44
|
+
Dynamic: requires-dist
|
|
45
|
+
Dynamic: requires-python
|
|
46
|
+
Dynamic: summary
|
|
47
|
+
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
48
|
+
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
49
|
+
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Wrappers for the "Contacts" framework on macOS 10.11.
|
|
53
|
+
|
|
54
|
+
These wrappers don't include documentation, please check Apple's documentation
|
|
55
|
+
for information on how to use this framework and PyObjC's documentation
|
|
56
|
+
for general tips and tricks regarding the translation between Python
|
|
57
|
+
and (Objective-)C frameworks
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
Project links
|
|
61
|
+
-------------
|
|
62
|
+
|
|
63
|
+
* `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
|
|
64
|
+
|
|
65
|
+
* `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
|
|
66
|
+
|
|
67
|
+
* `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
|
|
68
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Contacts/_Contacts.cpython-315-darwin.so,sha256=qiUY6yMWtT8sEKvMnb-eeLSNZ3myHtjRpWWXNw30nMA,85584
|
|
2
|
+
Contacts/__init__.py,sha256=fGIgeohvrqiNwGDWa77MWIDwJ-KvtI05nTPObSNR7sQ,1259
|
|
3
|
+
Contacts/_metadata.py,sha256=hCke3I9aPGXaaRZjMilsNykNlPfPh14NTM9lKL88CdA,21832
|
|
4
|
+
pyobjc_framework_contacts-12.2.dist-info/METADATA,sha256=kv1gqBhxKUAwcJnkmMuMd8GN49a2SfPt5Ys84Gzn2pk,2507
|
|
5
|
+
pyobjc_framework_contacts-12.2.dist-info/WHEEL,sha256=2M_SYDyM5rEsv_ln2yEuQGcyAVVUxLKyXAZ43VblWzk,115
|
|
6
|
+
pyobjc_framework_contacts-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
|
|
7
|
+
pyobjc_framework_contacts-12.2.dist-info/top_level.txt,sha256=GLXFyi9WUlQUQzl8PtV9PjzkTTgsLAt_TdmW_CmOA3M,9
|
|
8
|
+
pyobjc_framework_contacts-12.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Contacts
|