Metadata-Version: 2.4
Name: opake-base
Version: 0.16.0
Summary: Opake foundation: pure-Python serialization registry and dispatcher (the seam used by every other opake wheel)
Author: Opake Contributors
License: Apache-2.0
Keywords: differential-privacy,serialization
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Security
Requires-Python: <3.14,>=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Dynamic: license-file

# opake-base

Pure-Python foundation for the Opake library. Ships the serialization
registry and dispatcher that every other `opake-*` wheel registers
handlers against:

- `opake.api.base.serialization._registry` — `register_serializer`,
  `lookup_serializer`.
- `opake.api.base.serialization._dispatch` — `state_dict`,
  `from_state_dict`.
- `opake.api.base.serialization._structural` — generic Python container
  walker (dataclass, NamedTuple, tuple, list, mappings, primitives). Torch
  tensors and NumPy arrays are registered as exact-type handlers from
  `opake-engine` and `opake-accounting` independently.

`opake-base` has **no third-party dependencies** — only the Python
standard library. This is what lets `opake-accounting` ship as a torch-free
standalone wheel: it depends only on `opake-base`.

The user-facing API lives at the `opake.serialization` façade (shipped by
this wheel).
