sierra.core.storage

Terminal interfare for the various storage plugins that come with SIERRA.

See Creating a New Storage Plugin for more details.

class sierra.core.storage.DataFrameWriter(medium: str)[source]

Dispatcher to write a dataframe to the filesystem.

Inheritance

Inheritance diagram of DataFrameWriter
__call__(df: DataFrame, path: Union[Path, str], **kwargs) None[source]

Call self as a function.

__dict__ = mappingproxy({'__module__': 'sierra.core.storage', '__doc__': '\n    Dispatcher to write a dataframe to the filesystem.\n    ', '__init__': <function DataFrameWriter.__init__>, '__call__': <function DataFrameWriter.__call__>, '__dict__': <attribute '__dict__' of 'DataFrameWriter' objects>, '__weakref__': <attribute '__weakref__' of 'DataFrameWriter' objects>, '__annotations__': {}})
__doc__ = '\n    Dispatcher to write a dataframe to the filesystem.\n    '
__init__(medium: str)[source]
__module__ = 'sierra.core.storage'
__weakref__

list of weak references to the object (if defined)

class sierra.core.storage.DataFrameReader(medium: str)[source]

Dispatcher to read a dataframe from the filesystem.

Inheritance

Inheritance diagram of DataFrameReader
__call__(path: Union[Path, str], **kwargs) DataFrame[source]

Call self as a function.

__dict__ = mappingproxy({'__module__': 'sierra.core.storage', '__doc__': '\n    Dispatcher to read a dataframe from the filesystem.\n\n    ', '__init__': <function DataFrameReader.__init__>, '__call__': <function DataFrameReader.__call__>, '__dict__': <attribute '__dict__' of 'DataFrameReader' objects>, '__weakref__': <attribute '__weakref__' of 'DataFrameReader' objects>, '__annotations__': {}})
__doc__ = '\n    Dispatcher to read a dataframe from the filesystem.\n\n    '
__init__(medium: str)[source]
__module__ = 'sierra.core.storage'
__weakref__

list of weak references to the object (if defined)