There are 2 repositories under apple-health-xml topic.
This library provides functionality to parse and extract data from the XML exports of Apple Health app, enabling users to analyze and utilize their health data conveniently.
Python package to parse, analyse, and plot Apple HealthKit data
Making sleep schedule plot from the XML file exported from Apple Health app
Extracts Apple Health records from an Apple Health Export .xml