Convert diving files from Suunto DM5 to *.FIT files (Garmin)

Job ID: 32922729

Budget: $10 – $30 USD

I need to convert my diving logbook files to *fit files (Garmin).
I can export these files using suunto DM5 app to these formats:
*db
*.xml
The *.fit files will be imported using Garmin Connect portal and must have almost information of the db or xml file.

You can do it preferably using python (Can we negotiate some reward). However, you can just convert this files using some tool or using another programing language that you need.
I need you show me the procedures or the code used.

Some useful links:
https://www.suunto.com/en-us/Support/software-support/dm5/ (free software)
https://divinglog.de/
https://www.fitfileviewer.com/
https://github.com/dtcooper/python-fitparse