proto_serialization#
Conversions between Protocol buffers in iqm.data_structures.common
and Python objects in exa-common.
Each submodule corresponds to a Protobuf definition from iqm.data_structures.common
.
Each module has at least 2 functions, pack
and unpack
, which pack the Python type into a Protobuf instance or
vice versa.
The packed objects can be nested when constructing new Protobuf objects. It is intended that the user does the final serialization using the Protobuf service methods.
Full path: exa.common.api.proto_serialization
Subpackages and modules
Convert numpy arrays to protos and back. |
|
Convert native Python types and numpy arrays to protos and back. |
|
Convert NdSweeps to protos and back. |
|
Convert Python Sequences to protos and back. |
|
Convert SettingNodes to protos and back. |