pyexlatex.logic.extract package

Submodules

pyexlatex.logic.extract.by_attr module

exception pyexlatex.logic.extract.by_attr.CouldNotExtractObjsWithAttrException[source]

Bases: Exception

pyexlatex.logic.extract.by_attr.extract_objs_with_attr_from_ambiguous_collection(collection, attr, attr_value)[source]

pyexlatex.logic.extract.by_type module

pyexlatex.logic.extract.by_type.extract_objs_of_type_from_ambiguous_collection(collection, obj_types)[source]

pyexlatex.logic.extract.docitems module

pyexlatex.logic.extract.docitems.extract_document_items_from_ambiguous_collection(collection)[source]
Return type

List[DocumentItem]

pyexlatex.logic.extract.docitems.extract_document_items_from_ambiguous_collection_by_type(collection)[source]
Return type

List[DocumentItem]

pyexlatex.logic.extract.docitems.is_latex_item(item)[source]
Return type

bool

pyexlatex.logic.extract.get module

pyexlatex.logic.extract.get.get_attr_from_items_or_collection(content, attr, unique=False, collected_attr_values=None)[source]
Return type

Optional[List[str]]

pyexlatex.logic.extract.tools module