lift_utils.utils¶
Various utility functions.
Module Contents¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- lift_utils.utils.ellipsize(string, length)¶
- lift_utils.utils.etree_to_xmlstring(xml_tree)¶
- lift_utils.utils.form_items_has_match(form_items, text, match_type)¶
- lift_utils.utils.get_current_timestamp()¶
- lift_utils.utils.get_sort_value(xml_elem)¶
- lift_utils.utils.get_writing_systems_from_entry(entry) dict¶
- lift_utils.utils.get_ws_from_field_items(field_items)¶
- lift_utils.utils.get_ws_from_sense(sense) list¶
- lift_utils.utils.search_entry(entry, text, field, target_groups, header_fields, match_type, get_all)¶
- lift_utils.utils.search_sense(sense, text, field, target_groups, header_fields, match_type, get_all)¶
- lift_utils.utils.sort_xml(xml_tree)¶
- lift_utils.utils.sort_xml_attributes(xml_tree)¶
- lift_utils.utils.sort_xml_elements(xml_tree)¶
- lift_utils.utils.unicode_sort(in_list)¶
- lift_utils.utils.xmlfile_to_etree(filepath)¶
- lift_utils.utils.xmlstring_to_etree(xmlstring)¶