BTW, Vincent, you might also be interested to know that Valentin Boettcher has wrapped the HTMesh aspects of KStars as part of `pykstars`. Documentation etc. is here:
https://invent.kde.org/vboettcher/kstars/-/blob/dso_overhaul/kstars/python/readme.md
https://protagon.space/catalogs/pages/apidoc.html -- search for pykstars

Regards
Akarsh