|
|
myqpencodestring(value)
My own routine to do qouted printable since the builtin one doesn't
encode CR or NL! |
source code
|
|
|
|
|
|
|
|
|
|
format_binary(value)
Return base 64 encoded string |
source code
|
|
|
|
|
|
|
out_line(name,
attributes,
value,
formatter,
join_char=';')
Returns a single field correctly formatted and encoded (including
trailing newline) |
source code
|
|
|
|
_line_reformat(line,
width=70,
firstlinewidth=0)
Takes line string and inserts newlines and spaces on following
continuation lines so it all fits in width characters |
source code
|
|
|
|
|
|
|
out_categories(vals,
formatter,
field='CATEGORIES') |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| output_entry(entry,
profile,
limit_fields=None) |
source code
|
|
|
|
_string_formatters = format_stringv2, format_stringv3
|
|
|
_out_tel_mapping = {'cell': 'CELL', 'data': 'MODEM', 'fax': 'F...
|
|
|
_field_order = ('names', 'wallpapers', 'addresses', 'numbers',...
|
|
|
profile_vcard2 = {'_formatter': format_stringv2, '_limit': 1, ...
|
|
|
profile_vcard3 = profile_vcard2.copy()
|
|
|
profile_apple = profile_vcard3.copy()
|
|
|
profile_full = profile_vcard3.copy()
|
|
|
profile_scp6600 = profile_full.copy()
|
|
|
profiles = {'apple': {'description': 'Apple', 'profile': {'_fo...
|