import pickle def load_pickle(data): return pickle.loads(data) def dump_pickle(data): return pickle.dumps(data)