nqxpack.load

Contents

nqxpack.load#

nqxpack.load(path, *, options=None)[source]#

Loads an nqxpack file.

Parameters:
  • object – The object to save.

  • path – The path to save the object to. If the path does not have a .nk extension, it will be added.

  • zip – If True (default), the object will be saved in a zip file. If False, it will be saved in a directory.

  • options (dict | None) – A dict of per-call load options consumed by the deserializers that run underneath this call (e.g. policy flags authorizing a fallback). Use nqxpack.list_options() to discover what is tunable. Options are never read from the archive; they come from the caller every time.