Continuation of: https://bitbucket.org/Diffeomorphic/import_daz/issues/357/blender-addon-to-generate-rigged-hd-meshes (go there for some information on how to use it).
I adapted and extended the code from https://github.com/edolstra/dhdm to compile a .dll which can be called from Python. The latest version is the attached .7z here.
The source is also available in the following repository: https://gitlab.com/x190/daz-hd-morphs . There you can find compilation details for the .dll under MinGW on windows x64 (the code should work on Linux too with some small modifications).