bsie.extractor.generic.path module#

class bsie.extractor.generic.path.Path#

Bases: Extractor

Extract information from file’s path.

CONTENT_READER: str | None = 'bsie.reader.path.Path'#
extract(subject: Node, content: str, principals: Iterable[Predicate]) Iterator[Tuple[Node, Predicate, Any]]#

Return (node, predicate, value) triples.