kabbes_icloud package
Submodules
kabbes_icloud.AttributeOption module
kabbes_icloud.AttributeOptions module
kabbes_icloud.Connection module
kabbes_icloud.ICloudContact module
- class kabbes_icloud.ICloudContact.ICloudContact(dictionary={}, json_string=None)[source]
Bases:
Menu
- ID_COL = 'contactId'
- firstName = ''
- get_multi_preffered_Option(att, list_pref_atts, list_pref_values, index_pref=0)[source]
att = “phones”, list_pref_atts = [‘label’,’other_field’], list_pref_values = [[‘IPHONE’,’MOBILE’],[‘OTHER_VALUE’]]
- get_preffered_Option(att, pref_att, pref_values, index_pref=0, att_Options=None)[source]
att = “phones”, pref_att = ‘label’, pref_values = [‘IPHONE’, ‘MOBILE’], index_pref = 0
- lastName = ''
kabbes_icloud.ICloudContacts module
- class kabbes_icloud.ICloudContacts.ICloudContacts(conn=None, df=Empty DataFrame Columns: [] Index: [], json_string=None, dictionary={})[source]
Bases:
ParentPluralDict
,Menu
- COLS = ['contactId', 'data']
- DATA_COL = 'data'
- TABLE_NAME = 'ICloudContacts'
- lambda_on_Contacts(lambda_func)[source]
given a lambda function (lambda Contact: Contact.get_attr(“firstName”)), put each return statement in a dict
- remove_ICloudContact(Contact_inst)[source]
Remove a singular iCloud_Contact from the Contacts dictionary