Key takeaway, the bottomline of this post:
To connect to Hive you only have a few methods.
No matter how much code you throw at the problem, won't really improve that.
If you want to connect to a public node: use http.
If you need to write data: use a db.
If you want threading and pooling and things: use the os and db.
Whether you fully understand how these things work or you just heard of them, there's no way, you can improve them. And you shouldn't even try. Or find a different guide. 😂
The summary I didn't deserve but that I needed 🤣🤣🤣