Reader classes

To provide alternative ways of importing data from various sources, several Reader classes are available to choose or extend from.

A base Reader class provides a base class that has to be inherited for all reader implementations.

Reader Base reader class.
LocalFileSystemReader Read a file from the local filesystem.
class Reader(**options)[source]

Base reader class.

Read raw data from a file or other data source.

read()[source]

Read in raw data from our source.

Returns:a lazy iterable that yields the file’s contents
class LocalFileSystemReader(**options)[source]

Read a file from the local filesystem.

Key filename:Path to a local file either inside the STATIC_ROOT directory or an absolute path on the local system.
__init__(**options)[source]

Set options for this reader.

Common options are a file path and name, as well as authentication credentials for logging on to remote systems.