Bubble 2016.08.16

bubble.util.store package

«  bubble.util.dataset package   ::   Contents   ::   Releasing bubble  »

bubble.util.store package

Submodules

bubble.util.store.convert module

bubble.util.store.convert.convert(b, from_type, to_type, stage, step_to_convert)[source]

bubble.util.store.storage_type_json module

store: for getting and putting files in json format

class bubble.util.store.storage_type_json.JsonKV(file_name='__bubble_kvdb_data_tmp.unknown_type', name='BubbleKV', reset=False)[source]

Bases: bubble.util.store.BubbleKV

store and retrieve a List of dictionaries in sqlite.

bubble.util.store.storage_type_json.no_enc_fun()[source]

Module contents

store: for getting and putting files currently only json and the highly experimental ”.bubble” format for testing and comparing purposes

class bubble.util.store.BubbleKV(file_name='__bubble_kvdb_data_tmp.unknown_type', name='BubbleKV', reset=False)[source]

Bases: bubble.Bubble

store and retrieve a List of dictionaries in any file based type.

close()[source]
dump(lod=[], full_data=True)[source]
load()[source]
reset()[source]
bubble.util.store.get_bubble(*args, **kwargs)[source]
bubble.util.store.get_file(ctx, storage_file_name, first_only=False)[source]
bubble.util.store.get_file_info(ctx, storage_file_name)[source]
bubble.util.store.get_file_name(ctx, path, step, stage, stype)[source]
bubble.util.store.load_storage_type_class(ctx, storage_type)[source]
bubble.util.store.load_storage_type_class_json(ctx)[source]
bubble.util.store.load_storage_type_class_jsonl(ctx)[source]
bubble.util.store.put_file(*args, **kwargs)[source]

«  bubble.util.dataset package   ::   Contents   ::   Releasing bubble  »