pyphi.serialize#
Typed, compact (de)serialization of PyPhi results via msgspec.
Supports two wire formats from one schema: "json" (default, readable
structure) and "msgpack" (binary, compact). The document carries a single
top-level format_version and a node-labels frame written once per
document: nested objects whose labels match the frame store none and inherit
it on decode. A path ending in .gz is transparently gzip-compressed on
save and decompressed on load.
Functions
|
|
|
Deserialize a PyPhi domain object from |
|
Deserialize a document produced by |
|
Serialize |
Submodules