Loaders

Loaders are responsible for discovering source content on disk and determining which of those sources are relevant to its content type.

BasicLoader

Blot comes with a fairly simple loader that finds files on disk and filters them based on extension and some simple exclusion and inclusion rules.

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

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.