Why hasn't eclipse combined both mosquitto and paho already?

Eclipse provides support for maintaining both mosquitto and paho libraries. Paho is an MQTT client-only library, mosquitto is a broker-only library. I get that mosquitto is an application and paho is a python library. But is there already a class structure that lets me use mosquitto from inside python without basically running shell commands from within python?

Hi FunkyChaos,

You’re right that Eclipse Paho is a collection of client libraries for different programming languages, but
Eclipse Mosquitto is a broker, a client (not broker) library, and command line utilities.

The only way to run the Mosquitto broker from within Python is with the subprocess module or similar, and as you say that is very similar to just running shell commands. There is no Mosquitto broker library which you could interface to.

Does that answer your question?