blot.loaders.basicloader

class blot.loaders.basicloader.BasicLoader(path, excludes=[], includes=[], extensions=[])

Bases: object

Includes basic loading discovery functionality featuring exlcude and include regular-expressions.

Takes a path and recursively locates all of the files within it. Any paths that match any exclusion expressions are not returned. Any paths that match any inclusion expression are included regardless of whether they match an exclusuion.

check_path(path)
find_files()
load()

Return a list of all paths discovered and allowed by the exclusion and inclusion expresions.