Crate numcodecs_python

Source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

Rust-bindings for the numcodecs Python API using pyo3.

Structs§

PyCodec
Represents a numcodecs.abc.Codec instance object.
PyCodecAdapter
Wrapper around PyCodecs to use the Codec API.
PyCodecClass
Represents a numcodecs.abc.Codec class object.
PyCodecClassAdapter
Wrapper around PyCodecClasses to use the DynCodecType API.
PyCodecRegistry
Dynamic registry of codec classes.

Traits§

PyCodecClassMethods
Methods implemented for PyCodecClasses.
PyCodecMethods
Methods implemented for PyCodecs.

Functions§

export_codec_class
Export the DynCodecType ty to Python by generating a fresh PyCodecClass inside module and registering it with the PyCodecRegistry.