mqtt-codec Package Documentation

The mqtt-codec package is an MQTT packet encoder and decoder (codec). The library has high test coverage (~94%) and is known to perform well in distributed IoT networks with thousands of nodes.


The mqtt-codec package is distributed through and can be installed with the standard Python package manager pip:

$ pip install mqtt-codec

If you do not have pip then the package can be downloaded from mqtt-codec and installed with the standard method:

$ python install

Project Infrastructure

The project is coordinated through public infrastructure:

Indices and tables