kmds.cloud_readers package

Submodules

kmds.cloud_readers.boxreader module

kmds.cloud_readers.cloud_data_reader module

class kmds.cloud_readers.cloud_data_reader.CloudDataReader(conn: Dict[str, Any])

Bases: ABC

kmds.cloud_readers.minioreader module

class kmds.cloud_readers.minioreader.MinioReader(conn: Dict[str, Any])

Bases: CloudDataReader

read_data(bucket_name: str, object_name: str) DataFrame

Use this method to read a object (data file) from the bucket (bucket name)

Parameters:
  • bucket_name (str) – the bucket name containing the datafile

  • object_name (str) – data file with bucket that must be read

Returns:

A pandas datafreame wrapping the data file

Return type:

DataFrame

Module contents