Welcome to nme’s documentation!¶
nme is package for support of data persistance between sessions
and versions.
Currently it support for json and cbor2 backends.
nme support serialize and deserialize following class and its subclasses:
(referring to nme.nme_object_encoder()):
pydantic.BaseModelnumpy.integer(change to pure int)numpy.floating(change to pure float)pathlib.Path(Serialized to string)Any class with an
as_dict()method. This method should return a dictionary of valid constructor arguments.