v0.14.0 — Portable .pcb binary serialization
Adds an opt-in portable binary serialization format for ChebyshevApproximation and ChebyshevSpline. Cross-language consumers (C/Rust/Julia) can read PyChebyshev interpolants without Python.
Highlights
format='binary'kwarg onsave()— opt-in; default stays'pickle'(no breaking changes).load()auto-detects via 4-byte magic headerb"PCB\x00".- Stdlib
struct+ NumPy only — no new runtime dependencies. - C reference reader at
examples/binary_reader/(~240 lines, libm only). - Format spec at
docs/user-guide/binary-format.md.
Restrictions
- Binary format requires flat
n_nodesforChebyshevSpline. Nested-n_nodessplines raiseNotImplementedErroron binary save and fall back to pickle. ChebyshevSliderandChebyshevTTremain pickle-only in v0.14.
See CHANGELOG.md for full details.