That's about what you would expect for the first larger than a few lines python thing (this) I have started from scratch and made functional.
To be honest, the HPE side is quite a bird-copter as well.