PTWM

API reference

Reference for the Python package and the Rust crate.
Python API

The ptwm package — Compressor, Decompressor, configuration enums, integrations, random-access helpers.

Rust API

The ptwm-core crate — Huffman / rANS codecs, preprocessing transforms, container format, error types.

Every entry carries a kind badge, signature, parameter table, return type, raises list (Python), examples, and a deep link to source.