First public release - v1.0.0!
Summary
safestructures
is a Python package based on safetensors
to serialize general data structures, especially if they contain tensors. This release provides its two main functions:
save_file
- save data as asafetensors
file, making it compatible to load the original data viasafestructures
.load_file
- load data from asafestructures
-compatible file.
It supports a plugin architecture to deal with data types not covered by core capabilities. For more details, see the docs.