dwavesystems / dwavesystems/dimod
ASDF serialization
- Dominant language
- Python
- Stars
- 143
- Forks
- 91
- Avg merge
- 1h 24m
- Merged PRs (30d)
- 3
Description
[ASDF - Advanced Scientific Data Format](https://asdf-standard.readthedocs.io/en/latest/) looks promising for serialization in Ocean (BQM/SampleSet in dimod's case).
It has the following features:
- A hierarchical, human-readable metadata format (implemented using YAML)
- Numerical arrays are stored as binary data blocks which can be memory mapped. Data blocks can optionally be compressed.
- The structure of the data can be automatically validated using schemas (implemented using JSON Schema)
- Native Python data types (numerical types, strings, dicts, lists) are serialized automatically
- ASDF can be extended to serialize custom data types
Libraries for [python](https://github.com/spacetelescope/asdf) and [c++](https://github.com/spacetelescope/asdf-cpp) are available.
Contributor guide
Assessment
This issue has not been assessed yet.