Sorry - I'm not going to read through an entire GitHub repository for reasons.
Can you tell us what are you trying to do specifically please?
I've implemented fully automated HASS integration via HASS MQTT Discovery in Python, although the dev cycle is quick as you can test instantly using mosquitto_pub & mosquitto_sub in Bash scripts to prototype MQTT auto-discovery:
HASS MQTT setup help is here:
Here's a mosquitto_pub example to get you started hacking together a proof of concept:
HASS changes immediately on receiving the publish.