MCPcopy Create free account
hub / github.com/DasyDong/developer-roadmap / EmlParser

Class EmlParser

code/interface.py:24–34  ·  view source on GitHub ↗

Extract text from an email

Source from the content-addressed store, hash-verified

22
23
24class EmlParser(InformalParserInterface):
25 """Extract text from an email"""
26 def load_data_source(self, path: str, file_name: str) -> str:
27 """Overrides InformalParserInterface.load_data_source()"""
28 pass
29
30 def extract_text_from_email(self, full_file_path: str) -> dict:
31 """A method defined only in EmlParser.
32 Does not override InformalParserInterface.extract_text()
33 """
34 pass
35
36
37print(issubclass(PdfParser, InformalParserInterface))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected