scalarstop.pickle

A wrapper for cloudpickle to (de)serialize Python objects.

Module Contents

Functions

load(file: Union[BinaryIO, TextIO]) → Any

Load a Python object from a file handle.

loads(data: str) → Any

Load a Python object from a string.

dump(obj: Any, file: Union[BinaryIO, TextIO]) → None

Dump a Python object to a file handle.

dumps(obj: Any) → str

Dump a Python object to a string.

load(file: Union[BinaryIO, TextIO]) Any

Load a Python object from a file handle.

loads(data: str) Any

Load a Python object from a string.

dump(obj: Any, file: Union[BinaryIO, TextIO]) None

Dump a Python object to a file handle.

dumps(obj: Any) str

Dump a Python object to a string.