How about a logo-inspired python-based library for making embroidery files to brighten your day?
https://github.com/TurtleThread/TurtleThread
See eg for a list of the common file formats, mostly associated with specific hardware manufacturers I believe.
https://support.brother.com/g/s/hf/htmldoc/ped/im/ped11/en/P...